Comments (4)
Hi @bpschmitt ignore_metrics:
is part of transformations:
object. Please try using the following:
transformations:
- description: "Description"
ignore_metrics:
- prefixes:
- "http_"
I think the Docs examples could lead you to this issue. I will propose a change there.
from nri-prometheus.
Hi @bpschmitt!
The kube_
prefix metrics that are being included can represent a huge number of metrics, as there are many metrics exposed about each one of these resources (hpas, daemonset, etc).
I recommend that you start allowing only nr_stats
and apiserver_request_total
and start opening up for more things little by little.
Also it's worth to mention that, depending on what there is running in the cluster, there might be other dimensional metrics being sent to New Relic. Even maybe another instance of nri-prometheus?
You can query FROM Metric select uniques(metricName) where integrationName = 'nri-prometheus'
to verify.
from nri-prometheus.
Revisiting this. I'm now trying to ignore specific metrics as outlined in our docs. Here is the config being presented to my POMI pod.
/etc/nri-prometheus $ cat config.yaml
cluster_name: bschmitt-kops
require_scrape_enabled_label_for_nodes: true
ignore_metrics:
- prefixes:
- "http_"
POMI logs:
time="2020-08-31T21:55:15Z" level=info msg="Starting New Relic's Prometheus OpenMetrics Integration version 2.0.0"
Still seeing http_* metrics showing up for my cluster. The ignore_metrics feature still does not seem to be working properly. Halp! @jorik @douglascamata
from nri-prometheus.
I'll close this issue, docs are in process to be updated , feel free to reopen it for any other question, thanks!
from nri-prometheus.
Related Issues (20)
- NRI-Prometheus not compatible with Open Metrics 1.0.0 / Spring-Boot HOT 4
- errors fetching Prometheus metric - text format parsing error HOT 5
- Prometheus Config using values from Parent Chart HOT 3
- Adding support for custom label value in addition to scrape_enabled_label HOT 1
- Nri-prometheus scraping and parsing issue HOT 7
- rename_attributes transformation is not renaming attribute HOT 1
- Prometheus still scraping services after setting scrape_services = false HOT 3
- Ignore all metrics except set of metrics HOT 3
- ignore_metrics not always working HOT 6
- Transformations.add_attributes.attributes does not maintain case HOT 2
- [Repolinter] Open Source Policy Issues HOT 1
- Add support for targets over DNS, like dns_sd_config in Prometheus HOT 5
- Pod metrics don't get correlated properly to infrastructure entities HOT 3
- [Repolinter] Open Source Policy Issues HOT 1
- Dependency Dashboard
- [Repolinter] Open Source Policy Issues HOT 1
- Dropping metrics HOT 2
- Ignore metrics partially works HOT 1
- Support regex in ignore_metrics HOT 1
- NRI Prometheus using enormous amounts of resources HOT 3
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-prometheus.