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

e2e: Generate prometheus.yaml when Prometheus is enabled #899

Closed
Tracked by #51
hvanz opened this issue May 31, 2023 · 0 comments · Fixed by #954
Closed
Tracked by #51

e2e: Generate prometheus.yaml when Prometheus is enabled #899

hvanz opened this issue May 31, 2023 · 0 comments · Fixed by #954
Assignees
Labels
e2e Related to our end-to-end tests enhancement New feature or request

Comments

@hvanz
Copy link
Member

hvanz commented May 31, 2023

Feature Request

Summary

When Promethus is enabled in the manifest, create automatically a configuration file for Prometheus that includes essential settings and the IP addresses of the nodes in the manifest.

For example, for test/e2e/networks/simple.toml, which has 4 nodes, the content of the yaml file could be:

global:
  scrape_interval: 1s

scrape_configs:
  - job_name: 'validator01'
    static_configs:
      - targets: ['localhost:6701']

  - job_name: 'validator02'
    static_configs:
      - targets: ['localhost:6702']

  - job_name: 'validator03'
    static_configs:
      - targets: ['localhost:6703']

  - job_name: 'validator04'
    static_configs:
      - targets: ['localhost:6704']
@hvanz hvanz added enhancement New feature or request e2e Related to our end-to-end tests labels May 31, 2023
@hvanz hvanz mentioned this issue May 31, 2023
13 tasks
@hvanz hvanz changed the title e2e: create prometheus.yaml when Prometheus is enabled e2e: Generate prometheus.yaml when Prometheus is enabled May 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
e2e Related to our end-to-end tests enhancement New feature or request
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant