apache / apache/beam

Meter metric type

Open
#18,171 1 comment 0 reactions 0 assignees View on GitHub
beam-model core java new feature P3 python
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
1d 20h
Merged PRs (30d)
196

Description

Add support for Meter metric type to the SDK.

Interface should be along the lines of:
```

void mark();
void mark(int n);

```

Compare to http://metrics.dropwizard.io/3.1.0/apidocs/com/codahale/metrics/Meter.html

Imported from Jira [BEAM-1613](https://issues.apache.org/jira/browse/BEAM-1613). Original Jira may contain additional context.
Reported by: aviemzur.

Contributor guide

Open the contributing guide

Research direction

Start by locating the SDK's existing metric types and their tests, then compare their APIs with the linked Dropwizard Meter documentation. Add the mark() and mark(int n) operations consistently with the existing metric design, and consider the work done when focused tests cover both operations and pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
observability
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.