Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fadvisor use servicemonitors to configure prometheus scrape #18

Open
tommylxf opened this issue Jun 30, 2022 · 1 comment
Open

fadvisor use servicemonitors to configure prometheus scrape #18

tommylxf opened this issue Jun 30, 2022 · 1 comment

Comments

@tommylxf
Copy link

tommylxf commented Jun 30, 2022

k8s version: 1.21.10
fadvisor version: v0.3.0

@zhuw0312
Copy link

zhuw0312 commented Nov 1, 2022

apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
  name: crane-metrics
  namespace: monitoring
  labels:
    release: prometheus-operator
spec:
  namespaceSelector:
    matchNames:
    - crane-system
  selector:
    matchLabels:
      app.kubernetes.io/name: fadvisor
  endpoints:
  - port: http

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants