@@ -43,38 +43,6 @@ the [prometheus.ServeMetrics](../internal/pkg/telemetry/metric/prometheus/promet
4343| -----------------------| --------------------------------------------------------------------------------------------------|
4444| ` http.server.request ` | HTTP request. Attributes ` keboola.* ` contain info about stack, project and token, if applicable. |
4545
46- ### Metrics
47-
48- | Span | Description |
49- | ----------------------------------------------| ---------------------------|
50- | ` keboola.go.http.server.duration ` | Duration of HTTP request. |
51- | ` keboola.go.http.server.request.size.count ` | Request content length. |
52- | ` keboola.go.http.server.response.size.count ` | Response content length. |
53-
54- #### Apdex
55-
56- [ Apdex] ( https://en.wikipedia.org/wiki/Apdex ) metric measure user satisfaction as a value ` 0.0-1.0 ` :
57-
58- - Parameter ` T ` defines threshold for ` satisfied ` request duration in ` ms ` .
59- - ` 4T ` is threshold for ` tolerating ` request duration.
60- - Longer durations are considered as ` frustrated ` , as well as requests with a status code ` >= 500 ` (server errors).
61-
62- Apdex is reported cumulatively from [ Go code] ( ../internal/pkg/service/common/httpserver/middleware/otel_apdex.go ) .
63- The following metrics are generated:
64-
65- | Span | Description |
66- | -----------------------------------------------| ---------------------------------------|
67- | ` keboola_go_http_server_apdex_count.count ` | Apdex - total count of requests. |
68- | ` keboola_go_http_server_apdex_500_sum.count ` | Apdex sum for: T=` 500ms ` 4T=` 2000ms ` |
69- | ` keboola_go_http_server_apdex_1000_sum.count ` | Apdex sum for: T=` 1000ms ` 4T=` 4000ms ` |
70- | ` keboola_go_http_server_apdex_2000_sum.count ` | Apdex sum for: T=` 2000ms ` 4T=` 8000ms ` |
71-
72- Final Apdex value is calculated as follows:
73-
74- ```
75- keboola_go_http_server_apdex_<T>_sum.count / keboola_go_http_server_apdex_count.count
76- ```
77-
7846## HTTP Client
7947
8048Client telemetry is implemented in the [ keboola-sdk-go] ( https://github.com/keboola/keboola-sdk-go ) repository, in
0 commit comments