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
[receiver/cloudfoundry]: move datapoint level attributes to resource level (open-telemetry#34905)
**Description:** <Describe what has changed.>
Introduce a feature gate enable copying envelope tags to the metrics as
resource attributes instead of datapoint attributes.
**Link to tracking Issue:** open-telemetry#34824
---------
Signed-off-by: odubajDT <[email protected]>
Copy file name to clipboardExpand all lines: receiver/cloudfoundryreceiver/README.md
+32-1Lines changed: 32 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -132,4 +132,35 @@ The receiver maps the envelope attribute tags to the following OpenTelemetry att
132
132
* `instance_id` - numerical index of the origin. If origin is `rep` (`source_type` is `APP`) this is the application index. However, for other cases this is the instance index.
133
133
* `process_id` - process ID (GUID)
134
134
* `process_instance_id` - unique ID of a process instance, should be treated as an opaque string
135
-
* `process_type` - process type. Each application has exactly one process of type `web`, but many have any number of other processes
135
+
* `process_type` - process type. Each application has exactly one process of type `web`, but many have any number of other processes
136
+
137
+
## Feature Gate
138
+
139
+
### `cloudfoundry.resourceAttributes.allow`
140
+
141
+
#### Purpose
142
+
143
+
The `cloudfoundry.resourceAttributes.allow` [feature gate](https://github.com/open-telemetry/opentelemetry-collector/blob/main/featuregate/README.md#collector-feature-gates) allows the envelope tags being copied to the metrics as resource attributes instead of datapoint attributes (default `false`).
144
+
Therefore all `org.cloudfoundry.*` datapoint attributes won't be present anymore on metrics datapoint level, but on resource level instead, since the attributes describe the resource and not the datapoints itself.
145
+
146
+
The `cloudfoundry.resourceAttributes.allow` feature gate is available since version `v0.117.0` and will be held at least for 2 versions (`v0.119.0`) until promoting to `beta` and another 2 vesions (`v0.121.0`) until promoting to `stable`.
147
+
148
+
Below you can see the list of attributes that are present the resource level instead of datapoint level (when `cloudfoundry.resourceAttributes.allow` feature gate is enabled):
0 commit comments