Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Add prometheus metrics pytvzhen_api_request_counter. #19

Merged
merged 1 commit into from
Jun 6, 2024

Conversation

HanFa
Copy link
Contributor

@HanFa HanFa commented Jun 6, 2024

# HELP pytvzhen_api_request_counter_total Request count by request paths
# TYPE pytvzhen_api_request_counter_total counter
pytvzhen_api_request_counter_total{base_url="/yt_download",method="POST",stage="devo",status="200"} 1.0
pytvzhen_api_request_counter_total{base_url="/yt",method="GET",stage="devo",status="200"} 1.0
pytvzhen_api_request_counter_total{base_url="/yt",method="GET",stage="devo",status="404"} 1.0
# HELP pytvzhen_api_request_counter_created Request count by request paths
# TYPE pytvzhen_api_request_counter_created gauge
pytvzhen_api_request_counter_created{base_url="/yt_download",method="POST",stage="devo",status="200"} 1.7176584670508301e+09
pytvzhen_api_request_counter_created{base_url="/yt",method="GET",stage="devo",status="200"} 1.717658468841056e+09
pytvzhen_api_request_counter_created{base_url="/yt",method="GET",stage="devo",status="404"} 1.7176584888814e+09

@HanFa HanFa requested a review from CuSO4Gem June 6, 2024 07:24
@HanFa HanFa force-pushed the feat/prometheus-metrics branch from c6508ec to 7813e67 Compare June 6, 2024 07:27
@HanFa HanFa merged commit 3ddcc01 into master Jun 6, 2024
2 checks passed
@HanFa HanFa deleted the feat/prometheus-metrics branch June 6, 2024 08:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant