Skip to content

Add metrics and logs for gRPC server #18

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Mar 30, 2021
Merged

Conversation

ricoberger
Copy link
Member

We are adding the Prometheus and logrus gRPC middleware to write a log
line for each gRPC call and to have some basic metrics for each gRPC
call.

For that we register the promhttp handler in our metrics package and
serve the Prometheus metrics at the "/metrics" path.

We are adding the Prometheus and logrus gRPC middleware to write a log
line for each gRPC call and to have some basic metrics for each gRPC
call.

For that we register the promhttp handler in our metrics package and
serve the Prometheus metrics at the "/metrics" path.
@ricoberger ricoberger merged commit f4df97e into main Mar 30, 2021
@ricoberger ricoberger deleted the add-grpc-logs-and-metrics branch March 30, 2021 17:29
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant