Skip to content

How to use MonitoredResource in stackdriver logging #3203

@daiyueweng

Description

@daiyueweng

Hi, I am wondering how to use MonitoredResource in Stackdriver logging in Python. I found that MonitoredResource is available in REST API, JAVA, NODE.JS and C#, but I couldn't find it in Python. Since all log entries are written to global resource by default, I am wondering how to change that to a specific resource in Python, an example will be great.

cheers

Metadata

Metadata

Assignees

Labels

type: questionRequest for information or clarification. Not an issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions