pmm
pmm copied to clipboard
Pass VM config through API instead of filesystem
Description
What should be done: pmm-managed should pass Victoria Metrics config using API instead of filesystem
Benefit: it will remove one more dependency on the file system
Suggested solution
Suggested implementation: -promscrape.config flag of Victoria metrics supports HTTP endpoints, so we should reconfigure it to use API for it, we should create a new endpoint in pmm-managed and point victoria metrics to that endpoint.
Additional context
No response
Code of Conduct
- [X] I agree to follow this project's Code of Conduct