Category "metrics"

GCP - Send Alert every X on the counter - log based metrics

Is there a way to setup GCP Alert for Every X minutes, regardless of the threshold or condition? I want to create a counter metric that counts occurrence of spe

How to calculate the instant rate of a gauge metric?

How can I calculate the per-second instant rate of increase of the time series in Prometheus or Grafana without using rate() or irate()? This drive function is

What Prevents C++Builder "Method Toxicity Metrics..." from Listing Any Methods?

I'm using C++Builder 11.1. I have a completed 32-bit app in Debug configuration and want to check the toxicity metrics. When I open Project > Method Toxicity

What Prevents C++Builder "Method Toxicity Metrics..." from Listing Any Methods?

I'm using C++Builder 11.1. I have a completed 32-bit app in Debug configuration and want to check the toxicity metrics. When I open Project > Method Toxicity

How to count duplicated messages of Idempotent Consumer with a metric?

I have an Apache Camel application with an Idempotent Consumer. I need a metric with the total number of duplicated messages. How could I implement such a metri

collectd - exec plugin: Unable to parse command

I'm trying to return a value from a simple script. However, I'm getting the following error. Feb 26 09:26:37 localhost systemd[1]: Starting Collectd statistics

No http client metrics for non 200 response codes in Quarkus Micrometer

I have the following Quarkus Rest client code (based on this doc https://quarkus.io/guides/rest-client) @RegisterRestClient(baseUri = "https://pesho3.free.beece

Escape special characters in Prometheus metric names?

When exposing Prometheus metrics from a legacy application, I find that some metrics contain invalid characters such as my.metric, my-metric, my:metric Instead

Not able to populate AWS Glue ETL Job metrics

I am trying to populate maximum possible Glue job metrics for some testing, below is the setup I have created: A crawler reads data (dummy customer data of 500

Prometheus increase not handling process restarts

I am trying to figure out the behavior of Prometheus' increase() querying function with process restarts. When there is a process restart within a 2m interval

Compare 2 metrics in Prometheus

I'm new in prometheus, need help. I have custom metric on my 2 servers (just shows version of application): app_version{plant="dev",env="demo"} 55.119 app_ver

Balanced Accuracy Score in Tensorflow

I am implementing a CNN for an highly unbalanced classification problem and I would like to implement custum metrics in tensorflow to use the Select Best Model

tensorflow automatic accuracy calculation for multilabel classifier

I am fitting a multilabel classifier to (train_x, train_y) while monitoring the loss and accuracy on a validation set (val_x, val_y): classification_model.compi

Why endorser_proposals_recieved (Hyperledger fabric peer-metric) is giving different values at different peers?

We are using Hyperledger fabric 2.2.3 with 3 organizations 2 peers each, a total 6 endorsing peers,3 orderers, and using the Prometheus tool for monitoring. usi

ValueError: Unknown metric function: cosine

i have been getting valueError issue. Currently using python3.9.11., keras2.8. if loss_init=="r2": parallel_model.compile(loss=custom_r2_loss, o

Metrics F1 warning zero division

I want to calculate the F1 score of my models. But I receive a warning and get a 0.0 F1-score and I don't know what to do. here is the source code: def model_

Adding metric labels in prometheus on the fly

I have a counter metric in prometheus. I want to add lables to it dynamically for example if my request comes http://abc123.com/{p1} ,I want my custom_metric_na