You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: echoprometheus/README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,7 @@
1
1
# Usage
2
2
3
+
Deprecated: use new repository [echo-prometheus middleware](https://github.com/labstack/echo-prometheus) or [OpenTelemetry middleware](https://github.com/labstack/echo-opentelemetry) instead + OTLP exporters
Copy file name to clipboardExpand all lines: echoprometheus/prometheus.go
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,8 @@
3
3
4
4
/*
5
5
Package echoprometheus provides middleware to add Prometheus metrics.
6
+
7
+
Deprecated: use new repository [echo-prometheus middleware](https://github.com/labstack/echo-prometheus) or [OpenTelemetry middleware](https://github.com/labstack/echo-opentelemetry) instead + OTLP exporters
6
8
*/
7
9
package echoprometheus
8
10
@@ -115,6 +117,8 @@ type PushGatewayConfig struct {
115
117
}
116
118
117
119
// NewHandler creates new instance of Handler using Prometheus default registry.
120
+
//
121
+
// Deprecated: use new repository [echo-prometheus middleware](https://github.com/labstack/echo-prometheus) or [OpenTelemetry middleware](https://github.com/labstack/echo-opentelemetry) instead + OTLP exporters
// NewMiddleware creates new instance of middleware using Prometheus default registry.
144
+
//
145
+
// Deprecated: use new repository [echo-prometheus middleware](https://github.com/labstack/echo-prometheus) or [OpenTelemetry middleware](https://github.com/labstack/echo-opentelemetry) instead + OTLP exporters
// ToMiddleware converts configuration to middleware or returns an error.
162
+
//
163
+
// Deprecated: use new repository [echo-prometheus middleware](https://github.com/labstack/echo-prometheus) or [OpenTelemetry middleware](https://github.com/labstack/echo-opentelemetry) instead + OTLP exporters
@@ -386,6 +396,8 @@ func computeApproximateRequestSize(r *http.Request) int {
386
396
// }()
387
397
//
388
398
// ```
399
+
//
400
+
// Deprecated: use new repository [echo-prometheus middleware](https://github.com/labstack/echo-prometheus) or [OpenTelemetry middleware](https://github.com/labstack/echo-opentelemetry) instead + OTLP exporters
0 commit comments