Comments (3)
@pzimno Thanks for the request -- I'm checking on whether this is somethign feasible. The cap was initially introduced because of limitations of the Insights API, so I can't promise we'll be able to increase it. However, there may be other ways to work around the limitation. I'll keep you updated 👍
from nri-elasticsearch.
What is the expected behavior when we reach out the index limit threshold? Should it drop the oldest info or panic?
I am seeing some failures related to that (error down below) using the given versions:
- newrelic-infra-1.8.32
- newrelic-infra-integrations-1.7.0
- nri-elasticsearch-4.2.0
-
Stacktrace:
ERRO[0034] Integration command failed error="exit status 2" instance=elasticsearch integration=com.newrelic.elasticsearch prefix=config/elasticsearch stderr="[INFO] Collecting cluster metrics.\n[INFO] Collecting node metrics\n[INFO] Collecting common metrics.\n[INFO] Collecting indices metrics\n[ERR] Couldn't match index name in common index stats response: index 'staging-infra-aws_elasti_cache_memcached_cluster-v14' not contained in list (...) panic: runtime error: invalid memory address or nil pointer dereference\n[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x660d0a]\n\ngoroutine 1 [running]:\nmain.setIndicesStatsMetricsResponse(0xc4200e42c0, 0xc4203ea000, 0x518, 0x63f, 0xc4201de5a0, 0xc42017a0e0, 0x20, 0x0)\n\t/data/jenkins/infra-integrations-nri-elasticsearch-release-linux-package-3/go/src/github.com/newrelic/nri-elasticsearch/src/metrics.go:147 +0x14a\nmain.populateIndicesMetrics(0xc4200e42c0, 0x858de0, 0xc420098a40, 0xc4201de5a0, 0xc42017a0e0, 0x20, 0x0, 0x0)\n\t/data/jenkins/infra-integrations-nri-elasticsearch-release-linux-package-3/go/src/github.com/newrelic/nri-elasticsearch/src/metrics.go:107 +0x190\nmain.populateMetrics(0xc4200e42c0, 0x858de0, 0xc420098a40, 0x6bb341, 0x0)\n\t/data/jenkins/infra-integrations-nri-elasticsearch-release-linux-package-3/go/src/github.com/newrelic/nri-elasticsearch/src/metrics.go:35 +0x2b5\nmain.main()\n\t/data/jenkins/infra-integrations-nri-elasticsearch-release-linux-package-3/go/src/github.com/ne
-
After the app panic we start receiving the following message:
ERRO[0584] could not queue event component=Agent entityKey= error="Could not queue event: Queue is full." ERRO[0584] could not queue event component=Agent entityKey= error="Could not queue event: Queue is full."
from nri-elasticsearch.
This should be fixed in v4.3.2
from nri-elasticsearch.
Related Issues (20)
- Metrics and Inventory being sent in "different" entities
- Broken entity explorer charts
- New option master_only
- Number of index metrics HOT 1
- Add golang-ci and semgrep actions
- Metric naming case inconsistency - The fs.unallocatedBytesInBYtes metric has a capital Y in Bytes while the other related metrics do not HOT 2
- indices.numberIndices metric has a misleading name HOT 1
- Review the testing suite for inconsistencies while testing HOT 1
- Metrics are all exposed as gauges so monitoring is extremely difficult, such as indices.indexingOperationsFailed HOT 4
- lack of index _stats HOT 1
- Integration dashboard charts missing temporal units in axis labels HOT 2
- Missing metrics on recent elasticsearch versions HOT 1
- Elasticsearch DB infra metrics are not getting captured in kuberentes environment HOT 1
- New release to include last supported Linux versions
- Elasticsearch Integration failed with this erro HOT 3
- [Repolinter] Open Source Policy Issues HOT 1
- [Repolinter] Open Source Policy Issues HOT 1
- [Repolinter] Open Source Policy Issues
- Dependency Dashboard
- Improve logging while running under Newrelic infra agent HOT 4
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-elasticsearch.