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 ...
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 ...
user avatar
  • 759
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 ...
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.
user avatar
2 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.
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 ...
user avatar
  • 213
1 vote

Snapshot or Saving Prometheus Data for Performance testing and comparison

Did you find any usable solutions? Would it be enough accurate to having one database for gathering data and then making comparing results by using test start and end time? Grafana has option for ...
user avatar
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....
user avatar
  • 1,346
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 ...
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 ...
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 ...
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.
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, ...
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 ...
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: ...
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+) ...
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 ...
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 ...
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 ...
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 ...
user avatar

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