Questions tagged [metrics]

Software metrics are quantitative data related to software.

A software metric is an objective and reproducible quantitative measure of some property of the product, its source code, its specification, or the development process that was applied. These can refer to development time metrics such as or runtime metrics such as .

Although the generic term "metrics" is usually used to refer to the latter especially in server-side development. For further information about metrics and their importance in modern software development you can read the seminal work Measure Anything Measure Everything by Ian Malpass.

This tag should be applied to general questions about metrics or questions that span multiple metrics types or implementations or if your are not sure which specific tag applies. For questions specific to a particular metric system more specific tags such as ,, and so forth.

2802 questions
1
vote
1 answer

Elasticsearch: compute aggregation metric from other aggregation metrics

Elasticsearch lets you compute metrics on a bucket from the fields of the hits in the document. But what if I want to compute a metric from other metrics on the aggregation. For example, I'm storing data on advertising campaigns in Elasticsearch. I…
tldr
  • 11,924
  • 15
  • 75
  • 120
1
vote
2 answers

R Metrics auc() error message

I'm trying to calculate auc but have a weird problem. When I run this script: rm(list = ls(all = T)) gc() library(Metrics) library(glmnet) nrows <- 92681 set.seed(456) df1 <- data.frame(act1 = round(runif(nrows), 0), pred1 =…
screechOwl
  • 27,310
  • 61
  • 158
  • 267
1
vote
1 answer

MongoDB Sensu Script(Check) not showing Metrics in Log

I have sensu client installed on Mongo DB server and I am executing the Mongo DB Check using this script It Works great when my Mongodb is configured without Authentication, But it does not show the metrics when Authentication is enabled on the…
slashRahul
  • 555
  • 5
  • 18
1
vote
2 answers

Non-invasive javascript performance agent?

I am seeking to (legitimately) plant bugging in my web pages to collect and report information about website performance. Preference for internally hosted. While I expect that there are commercial offerings out there (e.g. Google Analytics) I'm…
symcbean
  • 47,736
  • 6
  • 59
  • 94
1
vote
1 answer

Accessing Azure Metrics

I'm trying to access metrics for a given cloudService I have the following code: var metricsClient = new MetricsClient(new CertificateCloudCredentials(SubscriptionId, Certificate)); var resourceid =…
Elad Katz
  • 7,483
  • 5
  • 35
  • 66
1
vote
0 answers

SLA for web application with a single time value

I am establishing the SLA for my web application. To do this I want a rollup of the speed of the entire page load -- a single value reported in milliseconds (ms). I need to be able to have this value programmatically (from a command-line or script…
1
vote
1 answer

What are some good and widely used evaluation metrics to test the accuracy of extractive text summarization methods?

I am using a classification technique for multi document extractive text summarization. I have calculated f-measure, recall, precision and accuracy. What will be the ideal metric for my purpose here to evaluate the summaries generated by this…
1
vote
0 answers

In-Memory Aggregating events per Minutes in Java

In my java daemon application, I have been reading events from Kafka topic with more than 100 partitions across multiple severs (with High Level Consumer Group). So I need to aggregate event count per minute per event name and flush that to time…
Bmis13
  • 550
  • 1
  • 8
  • 27
1
vote
1 answer

Android: DisplayMetrics densityDpi returns zero on rooted devices

Short problem DisplayMetrics.densityDpi seems to be zero on rooted devices. Long problem I am using the following code in my app: public static int getIconSize(Activity activity) { int size; DisplayMetrics metrics = new DisplayMetrics(); …
Robbe
  • 2,610
  • 1
  • 20
  • 31
1
vote
3 answers

Java/Scala Metrics - Codahale - Cluster/Mulitnode & Graphite Reporter

When using CodaHale Metrics in Java or Scala code a clustered environment what are the gotchas when reporting to Graphite? If I have multiple instances of my application running and creating different metrics can Graphite cope - i.e. is reporting…
NightWolf
  • 7,694
  • 9
  • 74
  • 121
1
vote
2 answers

Scikit Learn: Skewed Average Precision Report

I'm using scikit-learn to perform binary classification, however the labels are not evenly distributed throughout the dataset. For cases where I'm interested in predicting the minority class, I have some concerns about the average precision metric…
kylerthecreator
  • 1,509
  • 3
  • 15
  • 32
1
vote
2 answers

How to monitor logstash events per second

What is the best & easy way to count logstash events per sec in my environment without using graphite, statsd ? Thanks!
deez
  • 1,472
  • 3
  • 18
  • 28
1
vote
1 answer

Openshift gear CPU usage

I use collectd to get metrics of the app. oo-cgroup-read allows to get memory and disc metrics, but I don't see how to get CPU metrics. collectd seems pulls system info from /proc (or smth like that) and this not really correct in OpenShift…
skozlovf
  • 241
  • 1
  • 3
  • 13
1
vote
1 answer

Visual Studio Code Metrics Results: call it programmatically

For my master thesis, I'm writing a VSPackage (for VS 2013) to identify the critical methods in a project and I would like to include, in the algorithm used to classify the methods, also some of the metrics provided by Visual Studio. In a VSpackage,…
Lando
  • 103
  • 1
  • 9
1
vote
2 answers

Camel-Metrics : use route id in counter name

In Metrics component of Apache Camel 2.14, I'm trying to set the name of counters using Simple Expression Language but it seems that the metrics component is just not using it. I've tried : from("direct:foo").routeId("routeFoo") …
Thomas
  • 1,410
  • 10
  • 24
1 2 3
99
100