Comments (5)
An unsatisfactory workaround:
consul:
exec: { command: wget, args: [ "-q", "-O-", "http://localhost:8500/v1/agent/metrics?format=prometheus" ] }
method: exec
timeout: 1s
Using 'wget' instead of the customary 'curl' because wget seems more popular on the Debian boxes I'm looking after.
from exporter_exporter.
I came here looking for the same ability to expose consul prometheus metrics too. Disappointing this isn't possible.
Looks like https://github.com/rrreeeyyy/exporter_proxy might be better suited
from exporter_exporter.
Sorry I missed this, So we are escaping the path, this should be easy to fix. I'll take a look
from exporter_exporter.
FWIW, the query string passed in from the prom scrap are passed on to the backend, so you if you path to be /v1/agent/metrics, and then have prom add the format=prometheus as a param, that would work (obviously also not ideal)
from exporter_exporter.
Would this suffice?
#19
from exporter_exporter.
Related Issues (20)
- FR: need method ot collect ALL metrics per request HOT 4
- exporter_exporter-0.5.0.linux-amd64 release is statically linked HOT 2
- ARM Release HOT 4
- build info missing from `--version`
- utf-8 encoded labels
- Better use 2048bit for the TLS-certificate-example
- http without any restriction is always open HOT 2
- github.com/prometheus/common/log is deprecated
- Verify does not work with OpenMetrics HOT 2
- Client sent an HTTP request to an HTTPS server HOT 1
- curl: (52) Empty reply from server HOT 6
- Transition option to keep the route for a default module HOT 6
- Support info metric type HOT 2
- Question - how to understand/debug verify issue HOT 3
- push latest tagged version to docker hub HOT 2
- Return multiple module data in one call HOT 4
- 0.5.0 binary depends on recent GLIBC HOT 7
- build problems on ubuntu 20 LTS HOT 1
- HTTP Config does not allow setting RootCAs? HOT 2
- Convert to using exporter-toolkit
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 exporter_exporter.