Skip to content

Commit 40ff89a

Browse files
committed
Add prometheus sample configuration
1 parent 1fd4964 commit 40ff89a

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

prometheus.yml

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
global:
2+
scrape_interval: 15s
3+
4+
scrape_configs:
5+
- job_name: "kubewarden-policy-server"
6+
scrape_interval: 5s
7+
static_configs:
8+
# TODO: change the host with the IP/FQDN and port where the opentelemetry exporter is
9+
# listening. If you run prometheus with `--add-host=host.docker.internal:host-gateway`, you
10+
# you can just leave this as is.
11+
- targets: ["host.docker.internal:8889"]

0 commit comments

Comments
 (0)