Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions exporter/clickhouseexporter/exporter_logs.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,19 +108,19 @@ func (e *logsExporter) pushLogsData(ctx context.Context, ld plog.Logs) error {
case conventions.AttributeServiceName:
serviceName = value.Str()
case conventions.AttributeK8SPodName:
podName = value.Str()
podName = value.AsString()
case conventions.AttributeK8SContainerName:
containerName = value.Str()
containerName = value.AsString()
// TODO use AttributeCloudRegion 'cloud.region'
// https://github.com/ClickHouse/data-plane-application/issues/4155
case "region":
fallthrough
case conventions.AttributeCloudRegion:
region = value.Str()
region = value.AsString()
case conventions.AttributeCloudProvider:
cloudProvider = value.Str()
cloudProvider = value.AsString()
case "cell":
cell = value.Str()
cell = value.AsString()
}
return true
})
Expand Down