Skip to content

Automatic integration with OpenTelemetry #786

@domdomegg

Description

@domdomegg

Is your feature request related to a problem? Please describe.

When setting up my tracing and logging following the Google Cloud documentation in the recommended way for Node.js, they don't appear to integrate with each other.

The docs recommend using OpenTelemetry for traces, and this seems to be a nice standards-based way to collect trace data:

Describe the solution you'd like

The logging library works out of the box with OpenTelemetry, set up in the way recommended by the Google Cloud documentation.

There's straightforward docs which guide the user on how to set up logging and tracing, such that logs go to Google Cloud Logging and traces go to Google Cloud Trace and they integrate with each other.

Additional context

OpenTelemetry was previously mentioned in #597, but I couldn't quite follow what that was requesting. The docs from the PR suggest one might have to override certain properties to get tracing working - this should work out of the box.

Metadata

Metadata

Assignees

No one assigned

    Labels

    api: loggingIssues related to the googleapis/nodejs-logging-winston API.priority: p2Moderately-important priority. Fix may not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions