Last active
April 21, 2022 18:38
-
-
Save cmwylie19/01083dc5a627aacbf48bbc76187f20c1 to your computer and use it in GitHub Desktop.
Tell Prometheus what to scrape
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: monitoring.coreos.com/v1 | |
| kind: ServiceMonitor | |
| metadata: | |
| labels: | |
| app: starburst-enterprise | |
| name: starburst-monitor | |
| namespace: <installation_namespace> | |
| spec: | |
| endpoints: | |
| - port: metrics | |
| scrapeTimeout: 2s | |
| interval: 2s | |
| namespaceSelector: | |
| any: true | |
| matchNames: | |
| - starburst-sb5 | |
| selector: | |
| matchLabels: | |
| app: starburst-enterprise |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment