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
12
votes
3 answers

Is there a python version for the JVM based metrics library

I'm looking for a performance metrics library in python. I'm familiar with metrics by Coda Hale, which is written for the JVM and so I wonder if there's a python equivalent for that (and which does not utilize the JVM). In short, the list of…
Ran
  • 7,541
  • 12
  • 59
  • 72
12
votes
5 answers

Disable plugins on Eclipse startup

I just installed a plugin for Eclipse, but as a result Eclipse will no longer start. It says "There was an error" or some such uninformative message. How can I start Eclipse without it loading plugins so that I can actually uninstall the offending…
Timmmm
  • 88,195
  • 71
  • 364
  • 509
11
votes
2 answers

Key Facebook insights metrics deprecated -- alternatives not documented?

Over at https://developers.facebook.com/docs/reference/fql/insights/ Facebook states:: We are deprecating some old insights. These metrics are marked as __deprecated__ throughout this document. After 12/21/2011, data for these metrics won't be…
Bram Houf
  • 111
  • 1
  • 3
11
votes
8 answers

Are there any good tools to collect Objective-C metrics?

I'm using Jenkins for CI on iOS projects and want to collect some software metrics on them. But the only tool I was able to find was CLOC which only counts lines of codes (LOCs). Nevertheless it's better than nothing. What I really want to count are…
Jens Kohl
  • 5,899
  • 11
  • 48
  • 77
11
votes
1 answer

Web Application Server Monitoring

I've seen several StackOverflow posts that discuss what tools to use to monitor web application performance, but none that talk about what metrics to focus on. What web server metrics should be monitored and which should have alerts setup on? Here…
Bradford
  • 4,143
  • 2
  • 34
  • 44
11
votes
3 answers

AWS CloudWatch metric math with a cumulative metric's value 30 minutes ago to show rate of change

I have a AWS CloudWatch custom metric that represents a cumulative value which continues to increase overtime. I will add that metric to a dashboard, but I also want to show the rate of change of this metric over the last 30 minutes. Ideally I…
plex4r
  • 243
  • 1
  • 2
  • 15
11
votes
3 answers

How can you get the height metric of a string in PostScript?

You can obtain the width of a string in the current font with stringwidth and although this actually pushes offset coordinates on the stack, the y-value always seems to be useless. Is there a way to determine the exact height of a string, that may…
dreamlax
  • 93,976
  • 29
  • 161
  • 209
11
votes
4 answers

How to define additional or custom tags for default Spring Boot 2 metrics?

Recently I switched to Spring Boot 2 with Micrometer. As I got these shiny new metrics, I talked with our DevOps guys and we started exporting them to Telegraf. To distinguish between different applications and application nodes, we decided to use…
stepio
  • 865
  • 2
  • 9
  • 22
11
votes
2 answers

Micrometer's equivalent of Prometheus' labels

I'm transforming a Spring Boot application from Spring Boot 1 (with the Prometheus Simpleclient) to Spring Boot 2 (which uses Micrometer). I'm stumped at transforming the labels we have with Spring Boot 1 and Prometheus to concepts in Micrometer.…
Martin Schröder
  • 4,176
  • 7
  • 47
  • 81
11
votes
2 answers

what is difference between = and =~ operator in prometheus?

What is the meaning of =~ operator in prometheus metrics? Can any help me what is the exact difference between = and =~ operator? for ex . process_cpu_seconds_total{instance="test"} process_cpu_seconds_total{instance=~"test"} The results are…
Sagar Vaghela
  • 1,165
  • 5
  • 20
  • 38
11
votes
5 answers

Springboot with Spring-cloud-aws and cloudwatch metrics

I would like to start using metrics in my Springboot app and I would also like to publish them my amazon cloudwatch I know that with Springboot we can activate spring-actuator that provides in memory metrics and published them to the /metrics…
Johny19
  • 5,364
  • 14
  • 61
  • 99
11
votes
2 answers

Variation in BLEU Score

I have some question on BLUE Score calculation for machine translation. I realized they may have a different metrics for BLEU. I found the code reports five value for BLEU, namely BLEU-1, BLEU-2, BLEU-3, BLEU-4 and finally BLEU, which seems to be an…
Jürgen K.
  • 3,427
  • 9
  • 30
  • 66
11
votes
4 answers

Eclipse metrics plugin for C++

Does anyone know a good metrics plugin for Eclipse that works with C++ ? I'm looking for lines of code mainly. Thanks.
tree-hacker
  • 5,351
  • 9
  • 38
  • 39
11
votes
2 answers

Dropwizard metrics - How to reset counters after reporting interval

I am using codahale metrics (now dropwizard metrics) to monitor a few 'events' happening in my system. I am using the counters metrics to keep track of number of time the 'event' happened. I checked the values printed by the reporter for my counter…
face
  • 1,503
  • 13
  • 27
11
votes
1 answer

Using @Timed in service method

I'm working with Spring Boot, and I want to annotate some of my @Service methods with @Timed so I could view their statistics calling the metrics endpoint. I've read from the Spring documentation that is can use dropwizard registry, but I can't find…
jfcorugedo
  • 9,793
  • 8
  • 39
  • 47