Questions tagged [metrics]
Software metrics are quantitative data related to software.
2,830
questions
0
votes
0
answers
17
views
I am able to access port 80 from other machines giving the error - Connection refused [closed]
My server's IP is 132.13.3.1, and my virtual network is configured as:
auto vmbr0
iface vmbr0 inet static
address 192.168.13.1/24
bridge-ports none
bridge-stp off
bridge-fd 0
...
0
votes
0
answers
18
views
How to plot max latency in grafana
I'm using Quarkus framework with Micrometer as the metrics library. I have configured reporting timers with percentiles histogram for certain endpoints. In Grafana, I've created a dashboard to monitor ...
0
votes
1
answer
26
views
MicroStrategy Prompt Answer Get Month
I am learning MicroStrategy and I am doing an exercise that I do not know how to do it.
I have in a report several attributes, one of them is a date, and one metric. With this metric, I did derived ...
-1
votes
0
answers
23
views
How can I add a custom static label to a Prometheus query\metric?
Ok, so I have this query right here container_cpu_reserved which gives me the following metric:
container_cpu_reserved{datacenter="dev-01", instance="worker-02", job="nomad&...
0
votes
1
answer
20
views
Spring boot Webclient metrics not exposing
I am using spring boot & spring webflux version 3.1.4
I have written the below code for Webclient.
return WebClient.builder()
.baseUrl(endpoint)
.defaultHeader(&...
0
votes
0
answers
9
views
How to mock get() of Histogram metrics
export class Histogram<T extends string = string> {
/**
* @param configuration Configuration when creating the Histogram. Name and Help is mandatory
*/
constructor(...
1
vote
1
answer
44
views
How can I expose the Metrics of ActiveMQ Artemis running in embedded mode via Spring Boot 3.x actuators Micrometer metrics API?
How can I configure ActiveMQ Artemis and Spring Boot to expose the metrics of the embedded ActiveMQ Artemis via the actuator API?
My goal is to expose it via the Prometheus endpoint so I can scrape it....
0
votes
1
answer
35
views
Is there complete list of spring boot metrics with short description?
I briefly looked at actuator documentation but I was not able to find a list of metrics.
The most detailed information provided here but I want to have more details:
JVM Metrics
Auto-configuration ...
-1
votes
0
answers
16
views
Scaphandre doesn't show correct metrics
I'm pretty new into this.
I need something to read power metrics from a docker container, I found scaphandre, I tried it but it seems it doesn't work(maybe doesn't read anything from the powercap)
...
0
votes
1
answer
35
views
OpenTelemetry SDK Cardinality limit change
I set up a configuration for openTelemtry in Spring Boot (New Relic exporter). I can see the metrics in New Relic so everything works fine. Also I see a lot of warnings about "Cardinality Limit (...
0
votes
0
answers
11
views
Probe probe_ssl_earliest_cert_expiry
Folks,
I'm setup a Grafana Dashboard...
How setup the metric on Grafana using the probe_ssl_earliest_cert_expiry to show the values in year,month, days ?
Thanks,
Sergio
I tried : ...
0
votes
0
answers
13
views
Observing subprocess execution times and memory usages, should it be a Metric? or an Event?
I have an application that runs various subprocesses dynamically during its runtime. I aim to create graphs depicting the execution time of these subprocesses and their corresponding memory usage. ...
0
votes
1
answer
118
views
How to automatically grabbing the tasks from planner into Metrics/goal?
Hi PowerAutomate/Flow experts,
In the planner there are following tasks from projects: Lavender, Marigold & Teal
The Goal is automatically get the tasks from planner into Metrics as below
In ...
0
votes
0
answers
9
views
AWS Cloudwatch Metric Math, Group Measuremnts and return Max for each group
I have a metric in AWS for my SQS "NumberOfMessagesReceived". I grab the Sample Count in a period of 1 min over a time frame of 3 hours. How can I group these measurements in groups of 5 min,...
0
votes
1
answer
16
views
Collect time and params for each step of each build
in my company we are using Jenkins pipelines and we would like to collect metrics about the time needed for each step of the pipeline in order to measure performance improvements introduced by changes....
0
votes
1
answer
20
views
How to use regex to reduce cardinality of istio metrics which caused istio side car crash
I am using istio as my kubernetes service mesh. And I want to use metrics such as istio_requests_total as my SLI. I need to add a customized label "request_url_path" into those metrics, ...
2
votes
1
answer
31
views
NestJS OpenTelemtry - Failure to collect metrics using Telegraf
I'm trying to auto-instrument my NestJS project using OpenTelemetry using the nestjs-otel package. I followed the instructions and made corrections as suggested by one of its opened issues.
This is my ...
0
votes
1
answer
158
views
PromQL: Detect when one metric changes while another does not
I have two metrics: my_bytes_in and my_bytes_out. I want to detect when my_bytes_in changed while my_bytes_out did not for a couple of minutes. As pseudo code you could say:
IF my_bytes_in changed ...
0
votes
0
answers
27
views
Apache Spark metrics that capture SQL traffic? (bytesRead/bytesWritten)
I'm using spark-monitoring to capture Spark's metrics and transmitting them to LogAnalytics. Some of the default metrics include bytesRead and bytesWritten and are part of the Executor Task Metrics. ...
1
vote
1
answer
74
views
Understanding Prometheus JVM metrics
I am interested in tracking two metrics within JVM - Number of GCs per minute and Time Spent in GC per minute. I have metrics jvm_gc_collection_seconds.count and jvm_gc_collection_seconds.sum ...
0
votes
0
answers
33
views
PromQL increase function is not producing what I expect
I want to create a query that generates the amount of network traffic out(bytes) over the last 24 hours.
The metrics are being collected and exported with the help of open-telemetry, to Mimir, which ...
1
vote
1
answer
61
views
kafka-lag-exporter don't show lags when consumer group read 2 or more topics
I am testing kafka-lag-exporer . I setup kafka-server, zookeper, prometheus and grafana on my local machine. I created a Kafka topic named topic_1 and consumer group group1 that read messages from ...
1
vote
0
answers
24
views
Is there any option to sync metrics from hashicorp/raft pkg to prometheus application pkg?
Is there any easy way to sync metrics, which using globally in lib https://github.com/hashicorp/raft, like here:
metrics.IncrCounter([]string{"raft", "state", "follower"},...
0
votes
1
answer
41
views
Why am I have different mAP for the same images but with different batch size?
In my object detection task I use mAP metric and confusion matrix to access the quality of my model(Faster-RCNN). But when I take first 15 images from my dataset and evaluate mAP and confusion batrix ...
1
vote
1
answer
29
views
Promql filter out time series with value in label same like in another metric dynamicaly
Assuming I have two different metrics with different labels names but the same a group of values :
metric1{label1="some_values_the_same_as_in_metric2"} val examples: val1 val2 val3
metric2{...
0
votes
0
answers
33
views
Prometheus query in Grafana for counting the number of metrics received during last N minutes
Let's assume that my Prometheus "info" metrics (called my_metric) look like:
my_metric_info{company_id="sample_company_id_1", system_id="sample_system_id1"}
...
0
votes
0
answers
10
views
Azure sprint burndown chart is not showing completed work
I'm trying to use the canned Azure sprint burndown chart. But I don't understand why the completion % remains at zero, and I don't understand what the "average burndown" metric stands for. ...
0
votes
0
answers
33
views
failed connections in Azure Mariadb metrics
We are detecting several failed connections in our Azure Mariadb,I would like to know where are these failed connections coming from or maybe a query to further understand it, the Azure diagnostics ...
0
votes
0
answers
13
views
Cloud VPN Connection Graph Anomaly
I'm encountering an issue with the graph of my VPN connection. In the graph, there are what I call "gaps," which are moments when it stops displaying information. The only exception is ...
0
votes
1
answer
97
views
FID error "imaginary component" in Google Colab - PyTorch
I am reaching out to seek help with an unusual error I've encountered while trying to compute the FID score for a GAN project in Google Colab. I have been utilizing the repositories at https://github....
0
votes
1
answer
40
views
Unable to get values for backup metrics from azure Microsoft.DataProtection/BackupVaults resources using the azure rest api
I try to query the metric for DataProtection/BackupVault resource which has two metrics namely BackupHealthEvents and ResourceHealthEvents using the azure rest api(a sample is given below):
GET https:/...
0
votes
0
answers
32
views
How to GET Twitter Ads API Metrics using postman
I'm new to API and I want to get metrics of Twitter Ads such as impressions, clicks, Cost and Leads. I'm using Postman to get these data and I have already the access token for Twitter. Also, I want ...
0
votes
0
answers
38
views
How to get a disk IO time rate from prometheus
I have a server running standard Prometheus node exporter. Metrics are properly collected.
Now I need to display in Grafana rate of time spend for IO operations on all devices.
In the /metrics for my ...
1
vote
2
answers
72
views
Unable to create Alert for podReadyPercentage metrics
I am trying to create a MetricAlert using the following script
Set-AzContext -Subscription "f0bXXXXXXX"
$action = Get-AzActionGroup -ResourceGroupName gze-actgrp-pd-rgp-001 -Name UWDevOps_PD
$...
0
votes
0
answers
41
views
Error "could not convert string to float" when setting user-defined heterogeneous distance metric for mixed-type dataset in sklearn.neighbors
Hopefully someone can help me out with the following:
I have a mixed-type dataset that contains both numerical (dtypes: int, float, bool) and categorical (dtype: categorical) variables in Python. Now, ...
0
votes
1
answer
47
views
Kafka producer metrics not appearing in Spring Boot 3.1.1 Prometheus
I have a Spring Boot 3.1.1 component on which I just created some Kafka producers. I wish to expose their metrics in Prometheus, so I made the following configuration:
@Autowired
private MeterRegistry ...
0
votes
2
answers
37
views
BeanDefinitionRegistryPostProcessor implementation hides prometheus system and jvm metrics
I'm using a class that implements BeanDefinitionRegistryPostProcessor so that I can use the postProcessBeanDefinitionRegistry method to instantiate WebClient type beans, add them to the registry and ...
0
votes
1
answer
34
views
GCP MQL query. Manipulate query to remove resource.location from legend / name
I've created a widget to display JAVA memory usage.
As legend I see :
Is there any chance to hide for example resource.location from the name?
0
votes
0
answers
73
views
Custom metrics in Dynatrace
I want to use the Dynatrace monitoring system. I have researched a little monitoring of the Spring application using a Micrometer + Prometheus + Grafana. In this case, when we creating custom metrics (...
0
votes
0
answers
79
views
How to send AWS MWAA cluster metrics to DataDog?
AWS's Managed Workflows for Apache Airflow (MWAA) provides cluster metrics like the CPUUtilization and MemoryUtilization for the BaseWorker, Scheduler and WebServer. I would like to have these in ...
0
votes
0
answers
15
views
Calculating average build duration in Teamcity for failure condition improvements
Nice to have following functions for failure condition in TeamCity. But, I would like to have the average building time for each project or each submodule to be able to use it as a threshold value. I ...
0
votes
0
answers
47
views
How to capture distribution metrics of the redis cluster?
We have a redis cluster containing multiple redis instances. We also have a spring boot app that read from/write to this cluster. Now we want to use micrometer/prometheus/grafana to capture operation ...
0
votes
0
answers
17
views
Add custom Tags to MeterRegistry
the localhost actuator/metrics/db which measurements is based on db health status value, if UP is 1
"name": "db",
"measurements": [
{
"...
1
vote
0
answers
31
views
Problem with @Cacheable metrics in promotheus
I have an application with SpringBoot 2.6.6 where we have SpringBootAdmin and Prometheus configured.
In the application we have several annotations with @Cacheable, when the services are executed it ...
1
vote
0
answers
42
views
How to create an automated retry mechanism from a DLQ to AWS SNS having AWS Lambda as a target
We have an SNS having AWS Lambda as a target, and there's a DLQ associated with the SNS for handling Lambda throttling or other errors. We want to implement an automated retry system that resends the ...
0
votes
0
answers
21
views
Kubeflow Pipeline - How can I retrieve metrics regarding reusable components usage
everyone :)
I have Kubeflow running on EKS in our company as the official ML platform solution with hundred of Data Science user and different types of use cases.
My challenge is to measure the usage ...
0
votes
0
answers
20
views
How can I integrate the metric aucroc in my multiclassification problem?
I have a dataset of pixels where each pixel can be classified by 1 of 5 classes and I have 3 models that I trained to classify those pixels. Now, I am developing a python script that will help me ...
0
votes
0
answers
28
views
how to define a prometheus metric
now i want to monitor some microservice api with prometheus and display with grafana
here is my purposes:
monitor a service with 3 apis ,when all api is in trouble at one time means the service is ...
1
vote
1
answer
32
views
How to apply increase function after label_replace?
We have this counter metric: http_server_requests_seconds_count
http_server_requests_seconds_count{instance="localhost:8080", method="GET", outcome="SUCCESS", status=&...
0
votes
1
answer
45
views
How to disable (i dont want it to be shown) a transformation but take its value in grafana
I'm using Grafana to create a panel which shows some basic values.
I have here "success rate", which is calculated as "success jobs" / "total jobs". Using "success ...