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

[FR] Honor prometheus.yaml params #106

Open
adean-consensys opened this issue Jun 24, 2021 · 0 comments
Open

[FR] Honor prometheus.yaml params #106

adean-consensys opened this issue Jun 24, 2021 · 0 comments

Comments

@adean-consensys
Copy link

Feature Request for Prometheus queries to honor scrape_config params to reduce the complexity of Prometheus service monitors.

Example:

 job_name: listaccounts
  metrics_path: /list_accounts
  params:
    module: ["account"]
    action: ["listaccounts"]
  static_configs:
    - targets:
      - https://example.org/api

A request to localhost:7979/list_accounts?target=https://example.org/api would be the same as a query to localhost:7979/list_accounts?target=https://example.org/api?action=listaccounts&module=account

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

1 participant