OpenCensus is being archived! Read the blog post to learn more

TagValue

TagValue

The value that gives meaning to the TagKey.

Restrictions

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