TagValue
TagValue
The value that gives meaning to the TagKey.
Restrictions
- It MUST contain only printable ASCII (codes between 32 and 126, inclusive)
- The length of a TagValue must be greater than zero and less than 256
Example
import "go.opencensus.io/tag"
mutator = tag.Upsert(keyMethod, "memcache.Client.Get")from opencensus.tags import tag_value
value = tag_value.TagValue('memcache.Client.Get')import io.opencensus.tags.Tags.TagValue;
TagValue value = TagValue.create("memcache.Client.Get");#include "absl/strings/string_view.h"
ABSL_CONST_INIT const absl::string_view kGetMethod =
"memcache.Client.Get";const methodValue = { value: "memcache.Client.Get" };References
| Resource | URL |
|---|---|
| Specs reference | specs/TagContext.TagValue |
| Go TagValue API | TagMutator |
| Java TagValue API | TagValue JavaDoc |
| Python TagValue reference | Github implementation |
| C++ Tags reference | Tags source |
| Node.js TagValue reference | Github implementation |