Comments (3)
Hi, I think I spoke with another Relic internally today in regards to this issue you were experiencing.
On point number 2, integrations do not execute on the dot of each 30sec interval. It is 30seconds from after the time of completion. So if you had Flex doing a job that takes 15seconds, the next interval is after 15s + 30s. So the behaviour you are seeing is correct and is actually something to do with the infrastructure agent and not Flex itself.
The purpose behind this behaviour is to cater for situations where integrations could potentially take a very long or unexpected time to complete before the next interval starts so we avoid unpredictable queuing behaviours.
The suggestion that was provided was to use the lookup file functionality.
https://github.com/newrelic/nri-flex/wiki/Functions#lookup_file
https://github.com/newrelic/nri-flex/blob/master/examples/flexConfigs/port-test-with-lookup.yml
The lookup file will split each port test you have into a separate config file dynamically.
Flex configs are executed asynchronously meaning that all port tests would fire at once, rather then waiting for each to finish before proceeding to the next.
This way the delay will be at most be the minor execution time + the timeout period given anything does timeout.
Let me know if the above clears up your question, and if the lookup file solution works for you .
from nri-flex.
Hello Kav91, Thank you for your answer.
I tried using the lookup type but there was still a delay.
Currently I received a response from another NewRelic engineer to reinstall the infra agent.
Because of the "cannot find configuration" and "unmarshal" errors in the log files of the NewRelic 1.8.14 agent.
I'll check the issue after reinstalling the latest version of NewRelic Infra Agnet.
Thank you!!
from nri-flex.
No problem.
If you still have issues with the lookup file option, just share your Flex Config, and the lookup file, so we can best try to replicate and debug it.
from nri-flex.
Related Issues (20)
- Add automatic time server discovery for Windows NTP Clock Drift integration HOT 2
- 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
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.