Skip to content

Commit

Permalink
fix(kyak): remove double scrapes
Browse files Browse the repository at this point in the history
Signed-off-by: Tyler Witlin <[email protected]>
  • Loading branch information
coolguy1771 committed Dec 3, 2024
1 parent 9e07584 commit 00d2df8
Showing 1 changed file with 0 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,34 +28,6 @@ spec:
- action: replace
targetLabel: job
replacement: *name
---
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/monitoring.coreos.com/scrapeconfig_v1alpha1.json
apiVersion: monitoring.coreos.com/v1alpha1
kind: ScrapeConfig
metadata:
name: &name gatus
spec:
staticConfigs:
- targets: ["status.286k.co"]
metricsPath: /metrics
relabelings:
- action: replace
targetLabel: job
replacement: *name
---
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/monitoring.coreos.com/scrapeconfig_v1alpha1.json
apiVersion: monitoring.coreos.com/v1alpha1
kind: ScrapeConfig
metadata:
name: &name smtp-relay
spec:
staticConfigs:
- targets: ["10.10.254.4:8080"]
metricsPath: /metrics
relabelings:
- action: replace
targetLabel: job
replacement: *name
# ---
# # yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/monitoring.coreos.com/scrapeconfig_v1alpha1.json
# apiVersion: monitoring.coreos.com/v1alpha1
Expand Down

0 comments on commit 00d2df8

Please sign in to comment.