Difference between revisions of "Scheme: (Prometheus)"

From wikieduonline
Jump to navigation Jump to search
Line 5: Line 5:
  
  
  job_name: 'spring-actuator'
+
  job_name: 'your-website-monitoring'
 
   scheme: https
 
   scheme: https
 
   authorization:
 
   authorization:
Line 12: Line 12:
 
   tls_config:
 
   tls_config:
 
       insecure_skip_verify: true
 
       insecure_skip_verify: true
   metrics_path: '/actuator/prometheus'
+
   metrics_path: '/website/prometheus'
 
   scrape_interval: 5s
 
   scrape_interval: 5s
 
   static_configs:
 
   static_configs:
 
     - targets: ['your_ip:your_port']
 
     - targets: ['your_ip:your_port']
 +
https://stackoverflow.com/questions/68435536/how-to-add-https-url-on-target-prometheus
  
  
 
* {{prometheus.yml}}
 
* {{prometheus.yml}}

Revision as of 16:33, 13 January 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


Advertising: