Comments (7)
Static labels can be added by prometheus itself at scrape time.
from pushprox.
Static labels can be added by prometheus itself at scrape time.
Do you mean in a static config? I was hoping to use the /clients
endpoint to discover targets along with the labels required to make their metrics useful.
from pushprox.
It's an interesting idea about how to arrange labels in a reasonably consistent way to the /clients
discovery interface. At the same time, avoiding arbitrary cardinality issues.
I haven't used Prometheus for long so maybe there's a better way to do this.
There are few different options here. Without a detailed conversation about your overall architecture, and design use case for PushProx, it's hard to say. But that's not really a conversation to be had over an issue.
from pushprox.
They would fulfill the same purpose as static __meta_*
tags which are available with the other service discovery mechanisms. Originally we were planning on using __meta_azure_machine_tag_<tagname>
before realizing we needed PushProx to traverse NAT.
A few other examples of tag meta labels I found are
__meta_consul_tags
__meta_ec2_tag_<tagkey>
__meta_openstack_tag_<tagkey>
__meta_gce_tags
from pushprox.
If this is an Azure deployment, you should be running Prometheus inside of your VPCs to avoid NAT issues. Prometheus is meant to be distributed and deployed inside networks. PushProx is meant for more IoT use cases.
from pushprox.
@elliot-resdiary I have the same requires as your
from pushprox.
I agree this would be really nice to have, I could maybe have a look at the code base to implement that if someone could give me pointers
from pushprox.
Related Issues (20)
- Target Exporter on another machine
- how about pushprox-proxy service over https? HOT 3
- Time to release ? HOT 5
- server returned HTTP status 502 Bad Gateway HOT 2
- Cleanup errcheck issues
- Is the PushProx client itself able to use a web proxy to reach the remote PushProx server?
- Scraping more then one exporter. HOT 5
- Add support for http_sd_configs HOT 2
- "malformed HTTP request \"\"" HOT 5
- more complete configuration examples HOT 3
- Become a library HOT 2
- It is very difficult to cowork with nginx. HOT 1
- Is this project still maintained? HOT 1
- Remediation for CircleCL security incident HOT 2
- How to pass ldflags while creating the build ?
- PushProx is using fqdn.get() which is deprecated
- How to scrape metrics from not /metrics endpoint? HOT 2
- Scraping multiple exporters via pushprox HOT 1
- Getting errors regarding "component" and "CRDs" when trying to install PushProxy with helm chart HOT 1
- Ability to insecure_skip_verify HOT 1
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 pushprox.