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

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
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: clevermicro/amq-adapter-python#67
No description provided.