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

[feature] Mesos方案支持prometheus ServiceMonitor #514

Closed
zmberg opened this issue Jul 4, 2020 · 0 comments
Closed

[feature] Mesos方案支持prometheus ServiceMonitor #514

zmberg opened this issue Jul 4, 2020 · 0 comments
Assignees
Labels
confirmed issue is confirmed feature new feature inner issue comes from Tencent side
Milestone

Comments

@zmberg
Copy link
Contributor

zmberg commented Jul 4, 2020

feature相关背景与描述

apiVersion: monitor.bkbcs.tencent.com/v1
kind: ServiceMonitor
metadata:
  name: your_name
  namespace:  test
  labels:
    app: prometheus-operator-thanos-sidecar
    release: "po" # 必须带这个label
spec:
  selector:
    matchLabels:
      app: po-thanos-sidecar-http
      release: po
  namespaceSelector:
    matchNames:
      - "thanos"
  endpoints:
  - port: http-metrics
    interval: 30s
    params:
      client_id:
      - monitoring
      user_token:
      - xxx
@zmberg zmberg added the feature new feature label Jul 4, 2020
@DeveloperJim DeveloperJim added confirmed issue is confirmed inner issue comes from Tencent side k8s labels Jul 6, 2020
@DeveloperJim DeveloperJim added this to the 1.19.x milestone Jul 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
confirmed issue is confirmed feature new feature inner issue comes from Tencent side
Projects
None yet
Development

No branches or pull requests

2 participants