Resource Detection Processor
OpenTelemetry Collector processor · contrib distribution
- Component ID:
contrib-resourcedetectionprocessor - Name:
resourcedetectionprocessor - Type: processor
- Distribution: contrib
- Repository:
opentelemetry-collector-contrib
Stability
| Level | Signals |
|---|---|
| beta | logs, metrics, traces |
| development | profiles |
Internal telemetry
| Metric | Type | Value type | Unit | Stability | Enabled | Attributes | Description |
|---|---|---|---|---|---|---|---|
resourcedetection.attributes.detected | sum | int | {attribute} | development | yes | Number of resource attributes in the currently detected resource. | |
resourcedetection.detector.duration | histogram | double | s | development | yes | detector (string), outcome (string) | Time taken by an individual detector to run, including backoff between retries. |
resourcedetection.detector.results | sum (monotonic) | int | {detection} | development | yes | detector (string), error.type (string), outcome (string) | Number of resource detection results, by detector and outcome. On failure, error.type carries the error class. |
Attributes
| Attribute | Type | Description |
|---|---|---|
detector | string | The resource detector that produced the result. |
error.type | string | The type of error that caused detection to fail. Absent on success. |
outcome | string | Whether the detection operation succeeded or failed. |