Comments (5)
Hi @thezackm
Using version 1.0.0 i can get output similar to that in both macOs and Windows.
Example in windows:
What is missing from the output?
from nri-flex.
this is from Windows v.1.0.0, downloaded from the latest release .zip HERE and installed/configured on Feb 28.
Screenshot is current as of 5 min ago: notice that my sample data from the config file is not presented in the JSON payload; and my verbose output for the steps being conducted are missing as well. (lines 3-9 on your screenshot)
Note that I am receiving data in Insights; the Flex integration is working, the command line argument/output is the issue here.
from nri-flex.
@ardias as discussed in my PR #109
@thezackm is executing his flexConfig directly from the integrations.d/ folder, it is not a config format Flex understands via the config_file arg anymore, its the infra agent config which then passes the config block to Flex but only when the agent executes it. For Flex to execute it now, it needs to be aware of the agents config format.
Zack would have to edit his config manually, to remove the below and re-indent every time he needs to test. Then again add it back when he is ready, which could lead to frequent copy/pasting and indent issues.
integrations:
- name: nri-flex
config:
PR should be merged to resolve the issue.
from nri-flex.
@thezackm Sorry for the confusion regarding file formats.
As @Kav91 said, you're using a format meant for the NR Infra agent and trying to use it with Flex.
We want to understand why did you try to use the Infra agent format directly with Flex. Was the documentation not clear in that regard? Was it the examples you saw that lead you to that?
If you look at the output you got, there is an error in there. Was it not visible enough? Was the fact you still got some output, leading you to believe that it was working properly?
Regarding the data you are receiving, is that by running just Flex, like you did in the screen shot, or is it because you are also running the NR Infra agent (with the same configuration)?
from nri-flex.
For future reference, we've tried to make it more clear the difference between the Infra agent configuration format and Flex configuration format in these docs:
https://github.com/newrelic/nri-flex/blob/master/docs/development.md
https://github.com/newrelic/nri-flex/blob/master/docs/basic-tutorial.md
Take a look at them, and if you feel they need changes let us know.
Closing this for now.
from nri-flex.
Related Issues (20)
- linux-file-count.yml does not work as-is
- Review/create e2e tests to be able to upgrade go version HOT 1
- Upgrade Go version to > 1.15
- Flex IP Discovery on Kubernetes HOT 3
- Flex not working though API call works with Curl -k HOT 1
- Impossible to use the '%' character in a db query (MySQL)
- Running Flex Serverless - Azure Function App?
- Getting Parse errors in case if docker discovery doesn't finds any suitable containers
- Add support for Oracle DB HOT 1
- null value being converted to unicode HOT 8
- [Repolinter] Open Source Policy Issues HOT 1
- Extra middle whitespace in `name: nri-flex` throws an error HOT 3
- "lookups" function fails when looking up more than one value in same command HOT 1
- [Repolinter] Open Source Policy Issues HOT 1
- Sampling rate to New Relic does not go below 15s HOT 2
- [Repolinter] Open Source Policy Issues HOT 1
- Not possible to add user/pass as global to invoke PowerShell script with specific credentials HOT 3
- Swedish characters like Γ₯Àâ is not working in Flex via PowerShell HOT 3
- Recursively get data by using the 'nextCursor' attribute in Nerdgraph API HOT 2
- Dependency Dashboard HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nri-flex.