[Bug]: All 4 custom DAB metrics have empty descriptions
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 70/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- csharp
- Domain
- observability
Research direction
Search the repository for the DataApiBuilder.Metrics instrumentation scope and the four metric names. Inspect how their descriptors are configured, add the human-readable descriptions from the issue, and address the missing units noted for the count metrics. Run the relevant metrics or instrumentation tests, if present, and verify the exported descriptors are populated.
Written by the indexing model from the issue text.
Description
The DataApiBuilder.Metrics instrumentation scope defines 4 metrics (active_requests, total_requests, total_errors, request_duration), but none of them include a Description field. This violates OTEL best practices and makes metrics harder to understand in dashboards and alerting tools.
Expected
Each metric should include a human-readable description, per the OTEL metric semantic conventions:
Metric: active_requests
Description: "Number of in-flight API requests currently being processed"
Metric: total_requests
Description: "Cumulative count of completed API requests"
Metric: total_errors
Description: "Cumulative count of failed API requests"
Metric: request_duration
Description: "Duration of API request processing in milliseconds"
Actual
All 4 metrics export with blank descriptions:
Descriptor:
-> Name: active_requests
-> Description:
-> Unit:
The Unit field is also empty for active_requests, total_requests, and total_errors (only request_duration correctly sets Unit: ms).
- Dominant language
- C#
- Stars
- 1.5k
- Forks
- 372
- Avg merge
- 3d 8h
- Merged PRs (30d)
- 7
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Azure/data-api-builder
-
pgsql
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Azure/data-api-builder#3598 ·
-
2.x cli mcp-server
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Azure/data-api-builder#3576 ·
-
2.x health-endpoint
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Azure/data-api-builder#3570 ·
-
2.x telemetry
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Azure/data-api-builder#3564 ·
-
2.x rest
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Azure/data-api-builder#3551 ·
All issues in Azure/data-api-builder
Similar issues
-
type/automation type/tech-debt
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
t/bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
ci-failure-cause test-failure
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
area:auth FE mvp P3
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
klasolsson81/jobbliggaren#1788 ·