[prometheus-users] Exemplar Usage

2021-03-31 Thread 'Sandes de Silva' via Prometheus Users
Hi, I'm trying to use this experimental feature and having no luck. Has anyone here tried it? Is the usage documented anywhere? Here is my setup: Prom version: built locally off the main branch using docker (rev: 763a0d805c8f7f6e2cbd49c4c2c5e250e9dc5cd2) CLI options: `--enable-feature=exemplar

Re: [prometheus-users] Exemplar Usage

2021-03-31 Thread Julien Pivotto
On 31 Mar 10:22, 'Sandes de Silva' via Prometheus Users wrote: > Hi, > > I'm trying to use this experimental feature and having no luck. Has anyone > here tried it? Is the usage documented anywhere? Here is my setup: > > Prom version: built locally off the main branch using docker > (rev: 763a0

Re: [prometheus-users] Exemplar Usage

2021-03-31 Thread 'Sandes de Silva' via Prometheus Users
Hi Julien, Thanks for responding. I'm using the following library: https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-exporter-prometheus I wanted to add support for exemplars for this library so for now I'm just modifying this method (https://github.com/open-

Re: [prometheus-users] Exemplar Usage

2021-03-31 Thread 'Sandes de Silva' via Prometheus Users
I think I found the issue. I have to add a `content-type` header to the response that has the value `application/openmetrics-text` On Wednesday, March 31, 2021 at 3:50:06 PM UTC-4 Sandes de Silva wrote: > Hi Julien, > > Thanks for responding. I'm using the following library: > https://github.co