Difference between revisions of "Scheme: (Prometheus)"
Jump to navigation
Jump to search
(Removed redirect to Prometheus.yml) Tag: Removed redirect |
|||
(7 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{lc}} | ||
+ | |||
+ | {{prom web example}} | ||
− | + | job_name: 'your-website-monitoring' | |
+ | scheme: https | ||
+ | authorization: | ||
+ | type: Bearer | ||
+ | credentials: <your_token> | ||
+ | [[tls_config:]] | ||
+ | [[insecure_skip_verify:]] true | ||
+ | metrics_path: '/website/prometheus' | ||
+ | scrape_interval: 5s | ||
+ | static_configs: | ||
+ | - targets: ['your_ip:your_port'] | ||
+ | https://stackoverflow.com/questions/68435536/how-to-add-https-url-on-target-prometheus | ||
+ | == Related == | ||
+ | * [[scheme]] | ||
+ | == See also == | ||
* {{prometheus.yml}} | * {{prometheus.yml}} | ||
+ | |||
+ | [[Category:Prometheus]] |
Latest revision as of 23:59, 2 March 2023
- job_name: 'domain-job' scheme: https static_configs: - targets: ['myDomain.dev']
job_name: 'your-website-monitoring' scheme: https authorization: type: Bearer credentials: <your_token> tls_config: insecure_skip_verify: true metrics_path: '/website/prometheus' scrape_interval: 5s static_configs: - targets: ['your_ip:your_port'] https://stackoverflow.com/questions/68435536/how-to-add-https-url-on-target-prometheus
Related[edit]
See also[edit]
Advertising: