-
Hi! I followed the quick start guide to setup Grafana Cloud Agent on a Kubernetes cluster (running on Digital Ocean). I also have Here's how I configured scraping in the agent: apiVersion: v1
kind: ServiceAccount
metadata:
name: grafana-agent
namespace: infra
---
apiVersion: v1
data:
agent.yml: |
prometheus:
configs:
- name: integrations
scrape_configs:
- job_name: cert-integration
static_configs:
- targets: ['cert-manager:9402']
- job_name: traefik-integration
static_configs:
- target: ['traefik:9090']
- host_filter: true
name: agent
#... the rest of standard template Agent, traefik and cert-manager are in the same namespace (if that matters). Metrics won't show up :( Help would be greatly appreciated :) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 10 replies
-
Hey! Can you port-forward to the HTTP server used by the Agent and query for the targets API? |
Beta Was this translation helpful? Give feedback.
Hey! Can you port-forward to the HTTP server used by the Agent and query for the targets API?