Comments (2)
What should happen when there are duplicates?
from prometheus.
What should happen when there are duplicates?
That is a good point (so when the metrics exporter is writing back pod
and pod
for one particular result) - thinking "out loud" we could combine this with, say, some other identifier (like if pod
is a child of some other object).
If there is always a metric field name called name, we could do something like:
kube_pod_container_resource_limits{namespace="${namespace}",resource=~"cpu|memory"} by pod[metricName], unit, __name__.
That could be a confusing syntax though because it looks like pod has an attribute called metricName
(as would pod.metricName
.). I think this is one of those that requires a little more thought.
The alternative (less work, less awesome) would be to throw an error and then it would be up to the exporter and the caller to query the right things. And as it would be a new function, we wouldn't need to deal with breaking folks just yet as nobody could be using this syntax...some food for thought.
from prometheus.
Related Issues (20)
- Request to support ASLR in Prometheus HOT 2
- OTLP write receiver: Out of order sample from remote write (timestamp=0)
- enable querying of old data with new UTF-8 names HOT 4
- Add a function `fill()` to fill missing intervals HOT 2
- Prometheus skipping scrapes every 2 hours HOT 3
- promtool test with `/dev/stdin` fails for multiple test cases HOT 2
- Remove `init()` from discovery/metrics.go HOT 1
- Proposal: Add support `Nacos` SD config HOT 1
- promql: `label_join` destination label is not validated (v2.51.0+)
- Prom stops updating subset of metrics after dovecot server is restarted HOT 4
- Filter not working HOT 5
- Prometheus Target Down, when using it as Docker conatiner HOT 1
- Use metric_relabel_configs to drop metrics but still get a high prometheus memory usage HOT 2
- Queries return same series twice with non-stringlabels build HOT 2
- Generate wrong alerts when upgrading Prometheus from 2.33.5 to 2.50.0 HOT 2
- Prometheus's remote_write closes the impact of metadata sending
- Move required OpenTelemetry packages to prometheus/prometheus HOT 6
- How can I get a week's worth of alert history for Prometheus, Alertmanager via python script? HOT 1
- Configurabe scrape interval / scrape timeout via relabeling still marked as experimental HOT 1
- url parameter configuration via annotations not working for kubernetes service discovery based scrape job
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 prometheus.