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
9
votes
1 answer

Tracking user metrics in iOS app?

What is a good way to keep track of the areas in an app that a user visits, or the features that he or she uses? I know there are several preexisting open-source frameworks: Google Analytics SDK for iOS iloggr analytics And I know that there are…
Apophenia Overload
  • 2,485
  • 3
  • 28
  • 46
9
votes
3 answers

Is aws elasticsearch SysMemoryUtilization metric accurate?

I use the AWS elasticsearch service. There is no much data is stored. I use m3.large.elasticsearch instance type. When I check the Maximum memory utilization (SysMemoryUtilization) metric, it is always about 90%. I guess this is the memory usage…
Xiaowu Feng
  • 91
  • 1
  • 3
9
votes
1 answer

Is there an example to implement App.Metrics in ASP.NET Web API (not .net core)?

I'm updating a ASP.NET Web API (.Net Framework 4.6.2) to include metrics using App.Metric nugets provided by the site below: https://www.app-metrics.io/ Tried to run in a console app provided by the github…
deeproute
  • 151
  • 1
  • 11
9
votes
1 answer

@Timed annotation in spring metrics

I use @Timed annotation on String Boot rest controller and it works fine. Method from controller calls method from service which is also annotated with @Timed. However, this annotation on method in subsequent service bean doesn't work (I don't see…
littleAlien
  • 721
  • 2
  • 8
  • 20
9
votes
2 answers

Spring Boot Actuator 'http.server.requests' metric MAX time

I have a Spring Boot application and I am using Spring Boot Actuator and Micrometer in order to track metrics about my application. I am specifically concerned about the 'http.server.requests' metric and the MAX statistic: { "name":…
Christina
  • 361
  • 1
  • 5
  • 17
9
votes
3 answers

Custom Evaluator in PySpark

I want to optimize the hyper parameters of a PySpark Pipeline using a ranking metric (MAP@k). I have seen in the documentation how to use the metrics defined in the Evaluation (Scala), but I need to define a custom evaluator class because MAP@k is…
Amanda
  • 941
  • 2
  • 12
  • 28
9
votes
1 answer

Display count for a day using counter metrics in data dog

We have a counter metric in one our micro services which pushes data to DataDog. I want to display the total count for given time frame, and also the count per day (X axis would have the date and Y axis would have count). How do we achive this? I…
Selvakumar Ponnusamy
  • 5,363
  • 7
  • 40
  • 78
9
votes
1 answer

Grafana histogram displays wrong values (Datasource: Prometheus)

I'm using Grafana 4.3.2 with Prometheus 2.0 as the datasource. I'm trying to display a Prometheus histogram on Grafana. The values I retrieve from Prometheus is like the following: http_request_duration_seconds_bucket{, le="+Inf"} …
user2604150
  • 379
  • 5
  • 18
9
votes
1 answer

LCOM4 interrogation about way to calculate

Recently, I encountered a sementic issue in the way of calculating the LCOM4, a metric used to find how the methods and the properties of a class are cohersive. Introduction LCOM4 is "the 4th method of calculating the Lack in Cohesion Of Methods",…
niconoe
  • 1,191
  • 1
  • 11
  • 25
9
votes
3 answers

SSIM / MS-SSIM for TensorFlow

Is there a SSIM or even MS-SSIM implementation for TensorFlow? SSIM (structural similarity index metric) is a metric to measure image quality or similarity of images. It is inspired by human perception and according to a couple of papers, it is a…
b3nk4n
  • 1,101
  • 1
  • 11
  • 17
9
votes
1 answer

What is the difference between block coverage and branch coverage?

Is block coverage the same as branch coverage, similar to it or completely different? The top Google link explaining branch coverage: http://www.tutorialspoint.com/software_testing_dictionary/branch_testing.htm
S V
  • 570
  • 8
  • 21
9
votes
3 answers

Lines of Code in Eclipse PyDev Projects

I'm wondering if anyone has had any luck using the Eclipse Metrics Plugin with Projects that are not in Java (specifically I'm trying to generate code metrics for a couple of PyDev Projects). I've read through the walk-through for the Metrics…
g.d.d.c
  • 46,865
  • 9
  • 101
  • 111
9
votes
3 answers

Code metrics of php - Notepad++

In particular, I am interested to know how many lines of codes there are, but this spans across many files. I have been using notepad++ to author the code and for each file it does display line numbers but of course I have empty returns to make the…
Harry
  • 91
  • 1
  • 2
9
votes
7 answers

Getting code statistics from big projects

I'm interested in code statistics tools. Specifically I need to get statistics on Java EE code, but any code analyzer would do. Should I start creating one of my own or is there some project that you have used? ex. LOC, number of classes , libs ...…
Mite Mitreski
  • 3,596
  • 3
  • 29
  • 39
9
votes
2 answers

Understanding code metrics

I recently installed the Eclipse Metrics Plugin and have exported the data for one of our projects. It's all very good having these nice graphs but I'd really like to understand more in depth what they all mean. The definitions of the metrics only…
Feet
  • 2,567
  • 3
  • 22
  • 29