[FEATURE] handler/meter: support compression #153

Closed
opened 2023-04-14 16:08:48 +03:00 by vtolstov · 3 comments
Owner

https://github.com/prometheus/client_golang/blob/v1.15.0/prometheus/promhttp/http.go#L166 скопировать оттуда можно.
https://git.unistack.org/unistack-org/micro-server-http/src/branch/master/handler/meter/meter.go#L61 - вот тут убрать отдачу ошибки, просто залогировать ошибку и вернуть пустоту.

https://github.com/prometheus/client_golang/blob/v1.15.0/prometheus/promhttp/http.go#L166 скопировать оттуда можно. https://git.unistack.org/unistack-org/micro-server-http/src/branch/master/handler/meter/meter.go#L61 - вот тут убрать отдачу ошибки, просто залогировать ошибку и вернуть пустоту.
kgorbunov was assigned by vtolstov 2024-02-25 23:41:14 +03:00
Contributor

Заняло час, но пока не совсем понял в какой момент надо газировать ответ посмотри пожалуйста.

Заняло час, но пока не совсем понял в какой момент надо газировать ответ посмотри пожалуйста.
vtolstov referenced this issue from a commit 2024-03-11 12:31:21 +03:00
Contributor

v3 - #183
v4 - #182

v3 - https://git.unistack.org/unistack-org/micro-server-http/pulls/183 v4 - https://git.unistack.org/unistack-org/micro-server-http/pulls/182
vtolstov referenced this issue from a commit 2024-03-11 13:21:13 +03:00
Author
Owner

done

done
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
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: unistack-org/micro-server-http#153
No description provided.