Difference between revisions of "Scheme: (Prometheus)"

From wikieduonline
Jump to navigation Jump to search
Line 3: Line 3:
  
 
  {{prom web example}}
 
  {{prom web example}}
 +
 +
 +
job_name: 'spring-actuator'
 +
  scheme: https
 +
  authorization:
 +
      type: Bearer
 +
      credentials: <your_token>
 +
  tls_config:
 +
      insecure_skip_verify: true
 +
  metrics_path: '/actuator/prometheus'
 +
  scrape_interval: 5s
 +
  static_configs:
 +
    - targets: ['your_ip:your_port']
  
  
 
* {{prometheus.yml}}
 
* {{prometheus.yml}}

Revision as of 16:32, 13 January 2023


  - job_name: 'domain-job'
   scheme: https
   static_configs:
   - targets: ['myDomain.dev']


job_name: 'spring-actuator'
 scheme: https
 authorization:
     type: Bearer
     credentials: <your_token>
 tls_config:
     insecure_skip_verify: true
 metrics_path: '/actuator/prometheus'
 scrape_interval: 5s
 static_configs:
   - targets: ['your_ip:your_port']


Advertising: