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

How to setup uptime-kuma sent metrics to google managed service for prometheus? #5451

Open
2 tasks done
xpo-mie opened this issue Dec 19, 2024 · 0 comments
Open
2 tasks done
Labels

Comments

@xpo-mie
Copy link

xpo-mie commented Dec 19, 2024

⚠️ Please verify that this question has NOT been raised before.

  • I checked and didn't find similar issue

🛡️ Security Policy

📝 Describe your problem

Now, I'm setup uptime-kuma on GKE cluster and need to get metrics from google managed service for prometheus (GMP). basically , we can use podmonitoring of google monitoring API as example as below;

apiVersion: monitoring.googleapis.com/v1
kind: PodMonitoring
metadata:
  name: uptime
  namespace: monitoring
  labels:
    app.kubernetes.io/name: uptime
    app.kubernetes.io/part-of: google-cloud-managed-prometheus
spec:
  endpoints:
  - port: 3001
    scheme: http
    interval: 30s
    path: /metrics
    basicAuth: 
      password:
        secret:
          name: uptime
          key: password
  selector:
    matchLabels:
      app.kubernetes.io/name: uptime

📝 Error Message(s) or Log

After apply this and verify on GMP by promql "up{job="uptime"}" result its shown "0

🐻 Uptime-Kuma Version

1.23.15

💻 Operating System and Arch

k8s

🌐 Browser

Chrome

🖥️ Deployment Environment

  • Runtime:
  • Database:
  • Filesystem used to store the database on:
  • number of monitors:
@xpo-mie xpo-mie added the help label Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant