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: README.md
+12-1Lines changed: 12 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -39,8 +39,9 @@ It also supports an interactive mode which allows to select and delete disks in
39
39
go install github.com/grafana/unused/cmd/unused@latest
40
40
```
41
41
42
-
### `unused-exporter` Prometheus exporter
42
+
### `unused-exporter` Prometheus / OTEL exporter
43
43
Web server exposing Prometheus metrics about each providers count of unused disks.
44
+
44
45
It exposes the following metrics:
45
46
46
47
| Metric | Description |
@@ -61,3 +62,13 @@ Information about each unused disk is currently logged to stdout given that it c
61
62
```
62
63
go install github.com/grafana/unused/cmd/unused-exporter@latest
63
64
```
65
+
66
+
#### EXPERIMENTAL: OpenTelemetry exporter
67
+
This exporter also supports exporting metrics to an OpenTelemetry Collector.
68
+
69
+
To enable this feature, set the `OTEL_EXPORTER_OTLP_ENDPOINT` environment variable to the address of the OpenTelemetry Collector. However, the OTEL SDK doesn't set an `instance` label yet, and we recommend manually setting the `service.instance.id` attribute to a unique value for each instance of the exporter.
0 commit comments