Skip to content

Commit

Permalink
chore: add prometheus config file
Browse files Browse the repository at this point in the history
  • Loading branch information
baimamboukar committed Dec 27, 2023
1 parent 0283f20 commit 3fdd2f6
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/prometheus/prometheus.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
global:
scrape_interval: 15s
evaluation_interval: 15s

scrape_configs:
- job_name: prometheus
static_configs:
- targets: ['localhost:9090']
- job_name: golang
metrics_path: /metrics
static_configs:
- targets:
- golang:8081

2 comments on commit 3fdd2f6

@vercel
Copy link

@vercel vercel bot commented on 3fdd2f6 Dec 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 3fdd2f6 Dec 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.