Pull to refresh

Comments 1

Настроить TLS выборочно не получится — если он включен, он распространяется на все эндпоинты. Это значит, что собственные метрики Prometheus тоже будет извлекать через TLS, поэтому настроим использование HTTPS.

Неа, можно же


scrape_configs:
  - job_name: 'https_endpoints'
    scheme: https
    tls_config:
      ca_file: prometheus.crt
    static_configs:
    - targets: ['localhost:9091']
  - job_name: 'http_endpoints'
    scheme: http
    static_configs:
    - targets: ['localhost:9090']
Sign up to leave a comment.