Created
November 1, 2019 11:06
-
-
Save icy/8c3d0fc784e441ac1548240525c67a62 to your computer and use it in GitHub Desktop.
prom-op-troubles.yaml
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: | |
| name: lauxanh-grpc | |
| labels: | |
| prometheus/server: default | |
| namespace: metrics | |
| spec: | |
| selector: | |
| matchLabels: | |
| app: lauxanh-grpc | |
| namespaceSelector: | |
| matchNames: | |
| - prod | |
| - stress-test | |
| endpoints: | |
| - interval: 15s | |
| targetPort: 31990 | |
| --- | |
| apiVersion: monitoring.coreos.com/v1 | |
| kind: PodMonitor | |
| metadata: | |
| name: lauxanh-grpc | |
| labels: | |
| prometheus/server: default | |
| namespace: metrics | |
| spec: | |
| selector: | |
| matchLabels: | |
| app: lauxanh-grpc | |
| namespaceSelector: | |
| matchNames: | |
| - prod | |
| - stress-test | |
| podMetricsEndpoints: | |
| - interval: 15s | |
| targetPort: 31990 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment