forked from PaloAltoNetworks/pcs-metrics-monitoring
-
Notifications
You must be signed in to change notification settings - Fork 0
/
prometheus.yml
44 lines (42 loc) · 1011 Bytes
/
prometheus.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
global:
scrape_interval: 15s
scrape_timeout: 10s
evaluation_interval: 15s
alerting:
alertmanagers:
- follow_redirects: true
enable_http2: true
scheme: http
timeout: 10s
api_version: v2
static_configs:
- targets: []
scrape_configs:
# Prisma Cloud scrape configuration
- job_name: twistlock
scheme: https
static_configs:
# Replace "target" and "metrics_path" with your path to Console respectively
- targets: ['us-east1.cloud.twistlock.com']
metrics_path: /us-1-123456789/api/v1/metrics
# Access/secret API key with Compute Auditor (or greater) access
basic_auth:
username: 'ACCESS_KEY'
password: 'SECRET_KEY'
# Grafana monitoring
- job_name: grafana
metrics_path: /metrics
scheme: http
static_configs:
- targets:
- grafana:3000
# Prometheus self-monitoring
- job_name: prometheus
honor_timestamps: true
metrics_path: /metrics
scheme: http
follow_redirects: true
enable_http2: true
static_configs:
- targets:
- localhost:9090