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

Split monolith static monitor target file into per-cluster conf #36

Closed
Vonng opened this issue Feb 27, 2021 · 0 comments
Closed

Split monolith static monitor target file into per-cluster conf #36

Vonng opened this issue Feb 27, 2021 · 0 comments
Assignees
Labels
ENHANCEMENT New feature or request MONITOR Monitoring related PROVISION Deploy & Provision Related
Milestone

Comments

@Vonng
Copy link
Owner

Vonng commented Feb 27, 2021

Currently. If you are using static prometheus target discovery.

The target file is a monolith lies in /etc/prometheus/targets/all.yml.

It's good to split that monolith file into small files, for example, one yml file per cluster.

Besides, for people who are using per-cluster style inventory, this could work, too.

The targets files would be:

/etc/prometheus/targets/pg-test.yml
/etc/prometheus/targets/pg-meta.yml
/etc/prometheus/targets/pg-other-cluster.yml

@Vonng Vonng added the ENHANCEMENT New feature or request label Feb 27, 2021
@Vonng Vonng added this to the 0.7 milestone Feb 27, 2021
@Vonng Vonng self-assigned this Feb 27, 2021
@Vonng Vonng added MONITOR Monitoring related PROVISION Deploy & Provision Related labels Feb 28, 2021
@Vonng Vonng closed this as completed Mar 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ENHANCEMENT New feature or request MONITOR Monitoring related PROVISION Deploy & Provision Related
Projects
None yet
Development

No branches or pull requests

1 participant