Skip to content

[google-cloud-spanner][feature] Do not print exceptions from metric export failures by default #13038

@zdu-strong

Description

@zdu-strong

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

My console often prints error logs, which makes it difficult for me to find errors in the program logic. Therefore, I hope errors will not occur by default.

Image
Image

My project file is springboot.zip, and the startup commands are:

docker run -d -p 9010:9010 gcr.io/cloud-spanner-emulator/emulator
./mvn clean spring-boot:run

Describe the solution you'd like

SPANNER_DISABLE_BUILTIN_METRICS defaults to true when the environment variable is not set.

Image

Describe alternatives you've considered

Since the project requires collaboration among multiple developers, error logs should be reduced by default.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions