Created
November 29, 2018 14:02
-
-
Save ipochi/a110c3e916a357cf86cf6f572c5d7b26 to your computer and use it in GitHub Desktop.
ServiceMonitor for front-end service of microservice-demo application.
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: sock-shop-front-end | |
| labels: | |
| team: front-end | |
| namespace: sock-shop | |
| spec: | |
| jobLabel: front-end-metrics | |
| selector: | |
| matchLabels: | |
| name: front-end | |
| namespaceSelector: | |
| matchNames: | |
| - sock-shop | |
| endpoints: | |
| - targetPort: 8079 | |
| path: /metrics |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment