Hi,
I want to use Prometheus 2.16.0 to scrape metrics from my application over
HTTP/2. I work on Ubuntu 16.04.6 LTS environment and yaml config of
prometheus is below:
What should I do to scrape metrics over HTTP/2 with TLS?
Thanks in advance.
------------------------------------
# my global config
global:
scrape_interval: 15s # Set the scrape interval to every 15 seconds.
Default is every 1 minute.
evaluation_interval: 15s # Evaluate rules every 15 seconds. The default
is every 1 minute.
# scrape_timeout is set to the global default (10s).
# Alertmanager configuration
alerting:
alertmanagers:
- static_configs:
- targets:
# - alertmanager:9093
# Load rules once and periodically evaluate them according to the global
'evaluation_interval'.
rule_files:
# - "first_rules.yml"
# - "second_rules.yml"
# A scrape configuration containing exactly one endpoint to scrape:
# Here it's Prometheus itself.
scrape_configs:
- job_name: My Service
scrape_interval: 10s
scheme: https
static_configs:
- targets: ['localhost:7002']
--
You received this message because you are subscribed to the Google Groups
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/prometheus-users/3d095778-e867-4c05-be95-69ba1176aa57%40googlegroups.com.