Open kunalq opened 5 years ago
The characters that you can use in OpenCensus tags are a superset (not subset) of the ones in Stackdriver/Prometheus. If you know all your metrics will only be exported to Stackdriver, please conform to Stackdriver restrictions when creating tags.
The documentation states that valid ASCII printable characters "between 32 and 126, inclusive" are valid tag keys for metrics; in fact, Stackdriver appears to accept only alphanumeric characters.
I received the following error when attempting to include forward slashes in the label (to match our tracing labels):
Doc in question: https://github.com/census-instrumentation/opencensus-website/blob/master/content/tag/key.md