Skip to content
This repository was archived by the owner on Sep 17, 2025. It is now read-only.
This repository was archived by the owner on Sep 17, 2025. It is now read-only.

Don't require project ID in StackdriverStatsExporter #423

@c24t

Description

@c24t

The StackdriverStatsExporter shouldn't require a project ID if we can get the project from the environment with e.g. google.auth.default.

google.cloud.trace.client.Client gives us this for free, which is why we don't require a project ID in the (trace) StackdriverExporter. monitoring_v3.MetricServiceClient doesn't, which is presumably why we require one in StackdriverStatsExporter.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions