define scraping
This commit is contained in:
parent
f99a0dd747
commit
28e9609b9a
2 changed files with 6 additions and 1 deletions
src/main/resources/monitoring
|
@ -62,3 +62,8 @@ scrape_configs:
|
|||
- job_name: "prometheus"
|
||||
static_configs:
|
||||
- targets: ["localhost:9090"]
|
||||
|
||||
- job_name: pushgateway
|
||||
honor_labels: true
|
||||
static_configs:
|
||||
- targets: ['prometheus-pushgateway:9091']
|
||||
|
|
|
@ -3,6 +3,6 @@ kind: ServiceAccount
|
|||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/name: prometheus-pushgateway
|
||||
name: x-prometheus-pushgateway
|
||||
name: prometheus-pushgateway
|
||||
namespace: monitoring
|
||||
automountServiceAccountToken: true
|
Loading…
Reference in a new issue