microsoft / microsoft/aspire

Poll /metrics for otel metrics

Open
#12,859 0 comments 0 reactions 0 assignees View on GitHub
needs-area-label
Dominant language
C#
Stars
6.3k
Forks
991
Avg merge
2d 15h
Merged PRs (30d)
196

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues

### Is your feature request related to a problem? Please describe the problem.

We have, as many services do, a /metrics endpoint that exposes metrics.
The metrics aren't pushed, they are pulled by prometheus.
Setting up prometheus and exporting the metrics to aspire dashboard is a lot of work and is hard to maintain.

### Describe the solution you'd like

We would like aspire to poll the /metrics endpoint and pull the metrics actively into the dashboard for a complete dev experience - including testing /metrics integration, and seeing metrics during development without maintaining dev specific code in the service.

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.