Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prometheus metrics customization #19

Closed
sorobon opened this issue Mar 23, 2017 · 2 comments
Closed

Prometheus metrics customization #19

sorobon opened this issue Mar 23, 2017 · 2 comments
Assignees

Comments

@sorobon
Copy link
Contributor

sorobon commented Mar 23, 2017

Currently ansible role always install and configure prometheus metrics under '/metrics' path.
We need:

  • Not install prometheus metrics using a flag or something similar.
  • Change the path used to expose metrics using a variable.

It may look like this:

## Metrics
prometheus_metric_enabled: true
prometheus_metric_port: 9145
prometheus_metric_role: nginx
prometheus_metric_path: /metrics
@dortegau
Copy link
Member

It seems reasonable to pull apart all the metrics tasks in other file (¿metrics.yml?) 👍

sorobon added a commit that referenced this issue Mar 23, 2017
sorobon added a commit that referenced this issue Mar 24, 2017
sorobon added a commit that referenced this issue Mar 24, 2017
@sorobon
Copy link
Contributor Author

sorobon commented Mar 25, 2017

Merged in release 1.3.0 :)

@sorobon sorobon closed this as completed Mar 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants