Skip to content

Conversation

@psx95
Copy link
Contributor

@psx95 psx95 commented Jun 12, 2023

Description

Using Java Paths class to combine string leads to different path-separators depending on the OS of the machine code runs on. For metric names, only the linux path-separators are valid, so hardcoding this.

Testing

  • Tested this change on a windows machine by running the metrics example and ensuring that exported metrics appear in GCP.

Issues

psx95 added 2 commits June 12, 2023 16:40
Using Java Paths class to combine string leads to different
path-separators depending on the OS of the machine code runs on. For
metric names, only the linux path-separators are valid, so hardcoding
this.
@psx95 psx95 marked this pull request as ready for review June 14, 2023 19:21
@psx95 psx95 requested a review from a team as a code owner June 14, 2023 19:21
@psx95 psx95 requested review from jsuereth and punya June 14, 2023 19:21
@punya punya merged commit b391c4a into GoogleCloudPlatform:main Jun 16, 2023
@psx95 psx95 deleted the fix-export-windows branch June 16, 2023 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Exporting does not work on Windows due to invalid metric description type name - backslash instead of slash

2 participants