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: receiver/receivercreator/README.md
+61-1
Original file line number
Diff line number
Diff line change
@@ -109,6 +109,18 @@ Note that the backticks below are not typos--they indicate the value is set dyna
109
109
| k8s.pod.uid | \`pod.uid\` |
110
110
| k8s.namespace.name | \`pod.namespace\` |
111
111
112
+
`type == "pod.container"`
113
+
114
+
| Resource Attribute | Default |
115
+
|----------------------|---------------------|
116
+
| k8s.pod.name | \`pod.name\` |
117
+
| k8s.pod.uid | \`pod.uid\` |
118
+
| k8s.namespace.name | \`pod.namespace\` |
119
+
| container.name | \`name\` |
120
+
| k8s.container.name | \`container_name\` |
121
+
| container.image.name | \`container_image\` |
122
+
| container.id | \`container_id\` |
123
+
112
124
`type == "container"`
113
125
114
126
| Resource Attribute | Default |
@@ -155,7 +167,7 @@ Similar to the per-endpoint type `resource_attributes` described above but for i
155
167
156
168
## Rule Expressions
157
169
158
-
Each rule must start with `type == ("pod"|"port"|"hostport"|"container"|"k8s.service"|"k8s.node"|"k8s.ingress") &&` such that the rule matches
170
+
Each rule must start with `type == ("pod"|"port"|"pod.container"|"hostport"|"container"|"k8s.service"|"k8s.node"|"k8s.ingress") &&` such that the rule matches
159
171
only one endpoint type. Depending on the type of endpoint the rule is
160
172
targeting it will have different variables available.
161
173
@@ -186,6 +198,21 @@ targeting it will have different variables available.
186
198
| pod.labels | map of labels of the owning pod | Map with String key and value |
187
199
| pod.annotations | map of annotations of the owning pod | Map with String key and value |
0 commit comments