how to intregrate opsgenie metric whit grafana? - grafana

I want to look at the Opsgenie metrics in grafana.
There is currently no native integration.
Being able to show the same metrics that are displayed today in opsgenie directly in grafana.
Does anyone work on this who can guide me on how to approach these solutions?

Related

How to integrate grafana and locust?

Is there any way to integrate locust and grafana? I have tried from this link, there are no errors but also there is no data coming to graphite. can someone help on this?

Status page from prometheus alerts?

Is there anyway we can create a status page with data from prometheus alerts? Status pages should be something similar to status.io page but the data should be from prometheus.
I tried a lot of tools but couldn't find any which suits my requirements. For anyone looking for a simple solution, the best bet is Prometheus api.
Prometheus api will be like
http://prometheus-weburl/prometheus/api/v1/query?query=ALERTS{alertname="InstanceDown"}
Traversing through the output json for return values can be used to update innerHTML if used with JavaScript.

Grafana - Number of requests exceeds SLA

I would like to have a bar chart in Grafana with number of requests exceeds SLA. Is there a function or how can I achieve this?
You'll need to connect to the database that stores the number of requests. To do this you'll have to have a datasource plugin that provides the connectivity within Grafana. There are a number of 'out of the box' data source plugins available with Grafana.
If your database isn't listed there you'll need to create your own data source plugin, following the instructions here. It's important to note that to create your own plugins you need to be able to code in either JavaScript or a language that compiles to JavaScript such as TypeScript.
Once you have your data source plugin connecting to you database it should be rather trivial to get a bar chart on screen using the Graph panel.

If I know Kibana, can I use Grafana?

I have experienced using Kibana before. However this time, I'd like to try using Grafana. Does my experience guarantee that I can learn Grafana easily? Or is it a whole lot different from Kibana?
Please correct me if I'm wrong but so far, according to my research, both are for logs. Grafana is more of visualization only, while Kibana is for searching the logs; is this right?
Grafana is a fork of Kibana but they have developed in totally different directions since 2013.
1. Logs vs Metrics
Kibana focuses more on logs and adhoc search while Grafana focuses more on creating dashboards for visualizing time series data. This means Grafana is usually used together with Time Series databases like Graphite, InfluxDB or Elasticsearch with aggregations. Kibana is usually used for searching logs.
Metric queries tend to be really fast while searching logs is slower so they are usually used for different purposes. For example, I could look at a metric for memory usage on a server over the last 3 months and get an answer nearly instantly.
Brian Brazil (Prometheus) has written about logs vs metrics.
2. Data Sources
Kibana is for ElasticSearch and the ELK stack. Grafana supports lots of data sources. Even if you are using Grafana with ElasticSearch, you would not usually look at the same data (logs) as in Kibana. It would be data from Logstash or MetricBeat that can be aggregated (grouped by) rather than raw logs.
With Grafana you can mix and match data sources in the same dashboard e.g. ElasticSearch and Splunk.
Conclusion
Kibana and Grafana have some overlap. Kibana has TimeLion for metrics and Grafana has the Table Panel for logs. Lots of companies use both - Kibana for logs and Grafana for visualizing metrics.
They are different from each other so there will be a learning curve.

What are the Metrics that Grafana can collect?

I am trying to know about GRAFANA advantages over other tools.Can anybody list what are all the metrics that GRAFANA Displays/Collects ? This helps a lot to starters.
Thanks in Advance!!!
You seem to be a little confused about what Grafana does. It is a visualization tool, and is agnostic about the types of data you're visualizing. That is what makes it much more powerful than tools that are more tightly integrated with a particular collector/database.
As long as you can get the data you want to visualize (and in 4.x alert on) into one of the many time-series databases that Grafana supports, you'll be able to visualize that data on Grafana dashboards.
If you want to get an idea of what time-series databases are supported, you can look at the docs for Graphite and the other built-in datasources http://docs.grafana.org/datasources/graphite/ (see the others in the side menu), and find more datasources supported via plugins on https://grafana.net/plugins