package
0.30.2
Repository: https://github.com/pszzz/serving.git
Documentation: pkg.go.dev

# Functions

AugmentWithResponse augments the given context with response-code specific tags.
AugmentWithResponseAndRouteTag augments the given context with response-code and route-tag specific tags.
PodRevisionContext generates a new base metric reporting context containing the respective pod and revision specific tags.
RevisionContext generates a new base metric reporting context containing the respective revision specific tags.

# Constants

LabelConfigurationName is the label for the configuration which created the monitored revision.
LabelContainerName is the container for which the metric is reported.
LabelNamespaceName is the label for immutable name of the namespace that the service is deployed.
LabelPodName is the name of the pod for which the metric is reported.
LabelResponseCode is the label for the HTTP response status code.
LabelResponseCodeClass is the label for the HTTP response status code class.
LabelResponseError is the label for client error.
LabelResponseTimeout is the label timeout.
LabelRevisionName is the label for the monitored revision.
LabelRouteName is the label for immutable name of the route that receives the request.
LabelRouteTag is the label for immutable name of the route tag that receives the request.
LabelServiceName is the label for the deployed service name.
ResourceTypeKnativeRevision is the resource type for Knative revision.
ValueUnknown is the default value if the field is unknown, e.g.

# Variables

Create the tag keys that will be used to add tags to our measurements.
Create the tag keys that will be used to add tags to our measurements.
Create the tag keys that will be used to add tags to our measurements.
Create the tag keys that will be used to add tags to our measurements.
Create the tag keys that will be used to add tags to our measurements.