Closed ktibi closed 1 year ago
Once infrastructure monitoring is up and running, it should be possible to collect customizable sources of metrics.
It should be possible to add customizable configuration code for the scrape_configs part to create custom jobs.
For example, collect a prometheus endpoint directly from the adot collector.
Example :
module "eks_monitoring" { ..... custom_jobs = <<EOF - job_name: nxrm scrape_interval: 15s scrape_timeout: 10s metrics_path: /service/metrics/prometheus scheme: http basic_auth: username: admin password: admin123 static_configs: - targets: - host.docker.internal:8081 EOF .... }
Once infrastructure monitoring is up and running, it should be possible to collect customizable sources of metrics.
It should be possible to add customizable configuration code for the scrape_configs part to create custom jobs.
For example, collect a prometheus endpoint directly from the adot collector.
Example :