Skip to content

gcp-o11y: Remove monitored resource detection for logging (1.54.x backport)#10026

Merged
ejona86 merged 1 commit intogrpc:v1.54.xfrom
ejona86:backport-gcp-o11y-remove-k8s-resource-logging-1.54
Apr 7, 2023
Merged

gcp-o11y: Remove monitored resource detection for logging (1.54.x backport)#10026
ejona86 merged 1 commit intogrpc:v1.54.xfrom
ejona86:backport-gcp-o11y-remove-k8s-resource-logging-1.54

Conversation

@ejona86
Copy link
Copy Markdown
Member

@ejona86 ejona86 commented Apr 6, 2023

b/277095016

This PR removes the monitored resource detection for logging (which is only available for kubernetes environments).

By not populating monitored resource, we will leverage cloud logging library's auto population of metadata for monitored resource type and values.

Backport of #10020

* removed populating monitored resource to k8s_conatiner by default for logging; Delegating the resource detection to cloud logging library instead (enabled by default)

* remove kubernetes resource detection logic from observability
@ejona86 ejona86 requested a review from sanjaypujare April 6, 2023 19:54
@ejona86 ejona86 merged commit 1bf518a into grpc:v1.54.x Apr 7, 2023
@ejona86 ejona86 deleted the backport-gcp-o11y-remove-k8s-resource-logging-1.54 branch April 7, 2023 14:24
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jul 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants