For the intended K8s with observability, add a sample code showing how to create custom Prometheus metrics #67

Open
opened 2025-07-30 08:09:51 +00:00 by stanislav.hejny · 0 comments
Member

The cleverThis platform will require OpenTelemetry compatible observability solution, that will likely include the Prometheus metrics collector.
The cleverMicro already contains the FastAPI instrumentation that exposes the standard metrics associated with the REST API.
However, to get better visibility to our custom logic, a custom metrics about the jobs or status of the service may need to be published as well.
While these custom metrics are not yet defined, to get ready, cleverMicro should include sample code and document detailing how to create such custom metrics if there is a need for it in the future.

The cleverThis platform will require OpenTelemetry compatible observability solution, that will likely include the Prometheus metrics collector. The cleverMicro already contains the FastAPI instrumentation that exposes the standard metrics associated with the REST API. However, to get better visibility to our custom logic, a custom metrics about the jobs or status of the service may need to be published as well. While these custom metrics are not yet defined, to get ready, cleverMicro should include sample code and document detailing how to create such custom metrics if there is a need for it in the future.
stanislav.hejny added this to the V.02 milestone 2025-07-30 08:09:51 +00:00
stanislav.hejny added the
Priority
Medium
Points
8
Type
Task
labels 2025-07-30 08:09:51 +00:00
stanislav.hejny self-assigned this 2025-07-30 10:04:30 +00:00
stanislav.hejny added this to the Sprint Aug 1st- 14th project 2025-07-30 10:04:39 +00:00
stanislav.hejny added the
State
In Progress
label 2025-07-30 10:05:31 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: clevermicro/amq-adapter-python#67