Skip to content

Commit

Permalink
docs(sumologicexporter): update README of metadata translation
Browse files Browse the repository at this point in the history
Signed-off-by: Dominik Rosiek <drosiek@sumologic.com>
  • Loading branch information
Dominik Rosiek authored and sumo-drosiek committed Jun 30, 2021
1 parent 61805ef commit 9db7595
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/exporter/sumologicexporter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ exporters:
Metadata translation changes some of the attribute keys from OpenTelemetry convention to Sumo convention.
For example, OpenTelemetry convention for the attribute containing Kubernetes pod name is `k8s.pod.name`,
but Sumo expects it to be in attribute named `pod`.
If attribute with target name eg. `pod` already exists,
translation is not being done for corresponding attribute (`k8s.pod.name` in this example).

This feature is turned on by default.
To turn it off, set the `translate_metadata` configuration option to `false`.
Expand Down Expand Up @@ -124,6 +126,7 @@ Below is a list of all metadata keys that are being translated.
| k8s.replicaset.name | replicaset |
| k8s.statefulset.name | statefulset |
| service.name | service |
| file.path.resolved | _sourceName |

## Source Templates

Expand Down

0 comments on commit 9db7595

Please sign in to comment.