Hot answers tagged

5 votes

Keeping graphs of terminated Kubernetes pods in Prometheus/Grafana

The metrics for deleted pods still exists on the Prometheus Time Series Database. The problem is that the Grafana dashboards imported from kubernetes-mixin create the pod list when loading the ...
Eduardo Baitello's user avatar
3 votes
Accepted

Local Prometheus and Grafana Installations to Monitor a Kubernetes Cluster

It's possible but after doing many replatforming projects for clients I can't say I would advise it. Have you seen kube-prometheus? It's a one-shot install that will get you 90% of where you need to ...
Levi's user avatar
  • 1,034
3 votes

Are Grafana alerts handled if Dashboard is closed?

If those Dashboard/Panels are saved, everything will be processed. You don't need to have it opened.
Kristian Kanchev's user avatar
3 votes

What is the Prometheus and Grafana ideal setup?

I don't think there's an ideal solution at all. However, there may be a preferred one, depending on circumstances. There're several factors which I think one has to consider: How cheap/expensinve a ...
Alexander Pushkarev's user avatar
2 votes
Accepted

How to filter label_values in Loki?

After researching this, i've found an open issue on grafana's github. At the time of writing its still in the backlog.
user2324712's user avatar
2 votes
Accepted

Log/Data rotation in Docker Container

You can copy the actual logs from /var/lib/docker/containers/<container id>/<container id>-json.log to archive them then clear the logs manually (since you have only 2 services, influxdb ...
Paul Rey's user avatar
  • 223
1 vote
Accepted

Add more static instance labels in prometheus config

If I'm understanding your question, the answer comes straight out of the docs for static_configs: A static_config allows specifying a list of targets and a common label set for them. It is the ...
Life5ign's user avatar
  • 130
1 vote

Snapshot or Saving Prometheus Data for Performance testing and comparison

Grafana has option for directly pointing certain timeframe. https://grafana.com/docs/grafana/latest/dashboards/time-range-controls/ Save start and end time of your test OR test use fixed test duration ...
RunningCartographer's user avatar
1 vote

Grafana NGINX reverse proxy not functioning correctly

The Host header needs to be preserved now. For nginx: proxy_set_header Host $http_host; in BOTH your Location blocks. For Apache2: ProxyPreserveHost On [1] [1] https://github.com/grafana/grafana/...
Chris's user avatar
  • 11
1 vote

Monitoring Kubernetes CronJob & Job in Grafana for today day only

I had similar problem. I found no straightforward solution, bur eventually I solved it with a workaround. The problem is that kube_job_status_succeeded will always present number of rows equal to ....
Irek L.'s user avatar
  • 111
1 vote

Log/Data rotation in Docker Container

You can update the daemon.json config to specify your normal syslog driver (assuming linux) to use the normal syslog logrotation method for keeping log files or shipping off-box https://docs.docker....
Peter Turner's user avatar
  • 1,376
1 vote

Where to install Prometheus for Kubernetes monitoring

This is more of an opinion based question but let me try to answer it. installing Prometheus itself in the very same k8s cluster (as another running set of pods) is a normal thing.Am I right or just ...
rohatgisanat's user avatar
1 vote

Log monitoring/metrics dashboard with images/video

In terms of embedding in an external page, you have some options out of the box with both Kibana (docs here) and Grafana (docs here). If I understand correctly, you are trying to generate realistic ...
tomr's user avatar
  • 111
1 vote

Add an Actuator Button to Grafana Dashboard

I think to have found a suitable grafana plugin that can activate/deacttivate an actuator by posting a value with a call api rest. The name of this plugin that can be easily donwloaded and istalled in ...
roberto bruzzese's user avatar
1 vote
Accepted

How to deploy loki-stack helm chart with CRIO?

Managed to solve this by changing the values.yaml in the loki-stack helm chart to the following: promtail: enabled: true pipelineStages: - cri: {} Enjoy.
user2324712's user avatar
1 vote
Accepted

Is it possible/fine to run Prometheus, Loki, Grafana outside of Kubernetes?

I've found out that it is a possible and fine approach. Prometheus support different methods of service discovery, this is explained in the docs: Configuration. As I understood the Loki way of work, ...
AivanF.'s user avatar
  • 181
1 vote
Accepted

Is there a way to make Prometheus to scrape only the metrics which are present in Grafana?

I haven't found any way to do that, so I created a simple CLI based on Python, which can assist with the task - make sure you don’t scrape metrics in Prometheus, which you don’t present in Grafana ...
Meir Gabay's user avatar
1 vote

Initial Configuration: Grafana and Prometheus inside docker and then AWS

Okay, it took time and help from someone else. I was going down the path of installing nginx, but that won't end up being necessary. apiVersion: 1 datasources: - name: Prometheus type: ...
Joseph Larson's user avatar
1 vote
Accepted

Are there cheaper alternatives to cloud watch logs for creating dash boards?

Grafana was not really built to view logs from the get go. They however introduced this feature in v6.0 via the Explore tab This can be leveraged in 2 ways. Via Elasticsearch data source (in v6.3+) ...
dimisjim's user avatar
  • 148
1 vote

Pometheus-operator - modify Grafana mixin dashboard

You should use https://github.com/helm/charts/tree/master/stable/prometheus-operator helm chart , also you can write Grafana dashboard script that would create dashboard dynamically , can be update as ...
ANISH KUMAR MOURYA's user avatar
1 vote

What is the Prometheus and Grafana ideal setup?

You covered the obvious security issue, use HTTPS for all your connections. While I won't try to tell you how to implement your environment, I will share with you the design in which I am rolling ...
Steven K7FAQ's user avatar
1 vote

Expose metrics for Kotlin using JMX_Exporter to prometheus

After trying many things, I came to know that I needed to expose the port of my application's container in order to let Prometheus or other deployments to know. After exposing the port, I could see my ...
Radiant's user avatar
  • 121
1 vote

What is a good storage for storing performance results and visualizing in grafana

Sadly nobody answered, so I will provide feedback about how i did it so far. Graphite was not a good solution for me due to its retention policy. Performance tests sent data to the database every ...
GrimSmiler's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible