You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I am setting up prometheus scraping of the metrics that the digital ocean database cluster exposes. There's a guide here: https://docs.digitalocean.com/products/databases/postgresql/how-to/monitor-clusters/ that describes how to do it "manually" but of cause I want to do it automatically using terraform. For the prometheus scraping configuration I need:
Endpoint host
Endpoint port
Endpoint basic auth username
Endpoint basic auth password
Cluster CA certificate
Currently only the Cluster CA certificate is available to me in terraform.
Describe the solution you'd like
It would be awesome if the metrics endpoint and credentials were also available.
Describe alternatives you've considered
The only alternative I can see is doing it manually - not with terraform
Additional context
Nope
The text was updated successfully, but these errors were encountered:
I think the endpoint host can be assumed to the be same host as the database and the port to be 9273.
When I got this working I was disappointed though: I didn't find the number of metrics to be what I expected. DO support confirmed that: they use the telegraf plugin while I had expected the prometheus postgres_exporter was being used.
Anyways, I'll leave the issue open as I feel it's still a good improvement to make. For reference here's the prometheus scrape config that went along with the above secret to make the metrics import:
Is your feature request related to a problem? Please describe.
I am setting up prometheus scraping of the metrics that the digital ocean database cluster exposes. There's a guide here: https://docs.digitalocean.com/products/databases/postgresql/how-to/monitor-clusters/ that describes how to do it "manually" but of cause I want to do it automatically using terraform. For the prometheus scraping configuration I need:
Currently only the Cluster CA certificate is available to me in terraform.
Describe the solution you'd like
It would be awesome if the metrics endpoint and credentials were also available.
Describe alternatives you've considered
The only alternative I can see is doing it manually - not with terraform
Additional context
Nope
The text was updated successfully, but these errors were encountered: