TritonDataCenter / triton-cmon

The Metric Agent Proxy for Triton's Container Monitor https://github.com/joyent/rfd/blob/master/rfd/0027/README.md
Mozilla Public License 2.0
6 stars 12 forks source link

Get GZ metrics #7

Closed benjamin-bergia closed 6 years ago

benjamin-bergia commented 6 years ago

Currently, all the examples in the documentation illustrate fetching the zone metrics. The CMON agent, however, contains a `/v1/gz/metrics' endpoint.

Could you please provide some Prometheus configuration samples for the GZ metrics?

richardkiene commented 6 years ago

@benjamin-bergia I have yet to write the update to the TritonSD in Prometheus. I hope to get that done in the near future.

benjamin-bergia commented 6 years ago

@richardkiene thank you. In that case, I will close this.

Smithx10 commented 5 years ago

@benjamin-bergia

I just added this for my own use, I don't know if it will be upstreamed, but it works.

https://github.com/prometheus/prometheus/compare/master...Smithx10:triton_gz