Questions tagged [grafana-agent]
11 questions
3
votes
1 answer
How to integrate grafana agent running in AKS with grafana cloud
I have installed grafana agent in my Azure Kubernetes cluster by using helm chart
Link: https://artifacthub.io/packages/helm/grafana/grafana-agent
Step-1:
helm repo add grafana https://grafana.github.io/helm-charts
helm repo update
helm install…

akhil
- 1,649
- 3
- 19
- 31
2
votes
1 answer
Python prometheus_client not publishing metrics to Grafana Cloud
I am a noob to grafana cloud/prometheus. I am working to publish metrics from a python prometheus_client(running in Google Compute instance) to grafana cloud. But I can't find the metrics I am publishing.
What am I missing here?
Answer edit: Turns…

knotmine
- 25
- 5
1
vote
0 answers
How to configure Grafana Agent to only skip too old logs?
I try to use Grafana Agent (version 0.35) instead of Promtail to send logs to Grafana Loki (version 2.8.4). I want to send Docker container's logs, so I configured docker_sd_configs. But after starting Grafana Agent I couldn't find any logs with…

dur
- 15,689
- 25
- 79
- 125
1
vote
1 answer
Urls for sending OpenTelemetry traces to grafana-agent urls
When sending traces to tempo I use http://:4318/v1/traces, what is the path for sending traces to grafana-agent. I see nothing in the docs.

cramhead
- 1,057
- 8
- 21
1
vote
1 answer
Is it possible to push metrics to a grafana agent from a java application with OpenTelemetry agent instrumentation?
When I'm setting up my Grafana Agent, I see only the "scraping" option, so the agent itself needs to poll my java app (e.g. /actuator/metrics endpoint). I'm wondering if it's possible to have the "push" approach instead.
Basically, I want the same…

amseager
- 5,795
- 4
- 24
- 47
1
vote
0 answers
Prometheus --> Getting "Server returned HTTP status 400 Bad Request" attempting scraping
I have a Grafana Agent with Kube State Metrics in an EKS cluster and I am getting this error attempting to scrape a kubelet.
Any reason why such error can appear?
ts=2022-11-14T19:42:49.643418574Z caller=scrape.go:1302
level=debug agent=prometheus…

Pavel Zagalsky
- 1,620
- 7
- 22
- 52
0
votes
0 answers
Monitor Container Load Average with Grafana Agent and Cadvisor (Docker Integration)
I’ve configured Docker integration on Grafana Cloud, utilizing Cadvisor and Grafana Agent to monitor Docker containers, and it’s been effective for most metrics. I’ve been referencing the metrics documented:
Docker Integration Metrics.
However, I’m…

Liquid_Soap
- 1
- 2
0
votes
1 answer
How to configure Grafana Agent?
I want to use Grafana Agent to send metrics to Prometheus. I installed Grafana Agent (version 0.34) in static mode, started it and configured it, but Prometheus (version 2.24.0) doesn't receive any metrics from Grafana Agent.
Configuration
I use the…

dur
- 15,689
- 25
- 79
- 125
0
votes
0 answers
Using Victoria Metrics / Grafana agent on a non k8s container to send metrics to Amazon Managed Prometheus
I have an Kotlin application instrumented with Micrometer running AWS AppRunner and I want to send the metrics to Amazon Managed Prometheus (AMP).
Can I use Victoria Metrics agent or Grafana agent to do this for me? Or is there another way to…

Piyush Nahar
- 21
- 2
0
votes
0 answers
Configure grafana-agent DaemonSet to scrape pods in hostNetwork=true mode
I'm finding a lack of examples in the docs with a specific configuration I have in one of my clusters.
Basically my pods are running with hostNetwork: true enabled, which means that they share a port mapping with all of the pods with that flag set.…

user2886057
- 646
- 1
- 5
- 15
0
votes
0 answers
Grafana Agent only scraping one replica in kubernetes
I have a go gRPC Service running with middleware that counts handled requests. As I am developing I only have one replica of the service up, but tried scaling it.
At that point I noticed grafana would not scrape the metrics endpoint from multiple…

Andy Troschke
- 441
- 1
- 5
- 13