Comments (3)
You can actually do that at Prometheus level.
https://www.robustperception.io/dropping-metrics-at-scrape-time-with-prometheus
from druid-exporter.
Thanks, I will look into it.
from druid-exporter.
The metrics emitted by the druid-exporter are all generically grouped into a single druid_emitted_metrics" metric
. Individual metrics are specified with the metric_name
label. Here are some sample lines from the prometheus scrape target to illustrate:
druid_emitted_metrics{datasource="http_1m_rollup",host="10.202.7.177:8100",metric_name="jetty-numOpenConnections",pod="10-202-7-177",service="druid-middleManager-tier2"} 0
druid_emitted_metrics{datasource="http_1m_rollup",host="10.202.7.177:8100",metric_name="jvm-bufferpool-capacity",pod="10-202-7-177",service="druid-middleManager-tier2"} 5.25921679e+08
druid_emitted_metrics{datasource="http_1m_rollup",host="10.202.7.177:8100",metric_name="jvm-bufferpool-count",pod="10-202-7-177",service="druid-middleManager-tier2"} 7
While the suggestion of using metric_relabel_configs
works to drop or keep metrics by name, it does not seem like it would work in this case, because we want to restrict by label, not by metric name (everything is part of the druid_emitted_metrics
metric). Hopefully I am misunderstanding and there really is an easy way to do it.
from druid-exporter.
Related Issues (20)
- Grafana Dashobard is not working HOT 4
- Stopped Working Unexpectedly
- Exporter override metrics value if there is more than one task in parallel HOT 3
- Issue while integrating druid-exporter to grafana
- Ability to disable / blacklist metrics HOT 6
- New release any time soon? HOT 2
- last version doesn't work in multi-node cluster HOT 4
- Prometheus doesn't seem to be scraping "/metrics" HOT 1
- Helm chart 0.11.0 on the helm repo seems to be outdated HOT 3
- Some coordinator metrics not populated properly HOT 1
- Histogram of Query Time Taken HOT 1
- Memory leak and exporter becomes unresponsive over time HOT 2
- dutyGroup dimension missing from coordinator metrics HOT 1
- Unable to visualize jvm pool related dimensions inside grafana HOT 1
- Possibility of listening exporter to custom interface HOT 3
- Missing Indexer Metrics HOT 1
- Druid exporter is emitting huge metrics HOT 2
- Druid exporter is fetching more metrics HOT 1
- Can you create new latest docker image of druid-exporter HOT 1
- Cannot parse JSON data: invalid character '<' looking for beginning of value 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 druid-exporter.