Affichage des articles dont le libellé est metrics. Afficher tous les articles
Affichage des articles dont le libellé est metrics. Afficher tous les articles

jeudi 3 octobre 2024

json_exporter prometheus debug

 JSON url to convert : http://json_url/foobar.json

json_exporter running locally : localhost:7979 or json_exporter:7979 



Status of the json_exporter, does NOT contain the metrics from the targets, only related to the process itself (useful to know if it's up or not for example).

 localhost:7979/metrics


Check the result of a JSON URL to be converted / aka. what prometheus should scrape

curl http://json_url/foobar.json => JSON (original)

curl localhost:7979/probe?target=https://json_url/foobar.json => openmetrics converted by json_exporter



Other useful commands :


* edit, restart, wait, check json_exporter output

sudo vi /etc/json_exporter/config.yml && sudo systemctl restart json_exporter && sleep 5 && curl http://localhost:7979/probe?target=http://json_url/foobar.json


* edit, check and restart prometheus : 

sudo vi /etc/prometheus/prometheus.yml && sudo promtool check config /etc/prometheus/prometheus.yml && sudo systemctl restart prometheus.service



mercredi 22 février 2023

Service Level metrics

  •  SLO : Service Level Objective

Common examples of metrics that can be associated with SLOs are disaster recovery time, application availability, live communication response time, first call resolution rate and application maintenance.


  • SLI : Service Level Indicator

SLI = [ good event / valid event ] * 100%


request / response : Availability, Latency, Quality

Data Processing : Coverage, Correctness, Freshness, Throughput


  • SLA : Service level agreements

usually external metrics (i.e. : end service KO time)




-- 

Appdex : scoring 0 to 1 for user satisfaction



-- source : 

- Blog covering AIOps custom automations inside the Cloud Pak for Watson AIOps -> https://developer.ibm.com/articles/supercharged-aiops-with-custom-automations/
- Blog covering Instana’s new remediation framework -> https://www.instana.com/blog/tech-preview-take-action-from-within-instana-using-our-action-framework/
- Demo of Instana’s new remediation framework’s integration with PagerDuty’s Process Automation -> https://www.youtube.com/watch?v=t441dhv7Vtw

And you can connect with Arthur on LinkedIn at: https://www.linkedin.com/in/ademagalhaes