forked from open-telemetry/opentelemetry-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage-info.java
More file actions
22 lines (20 loc) · 899 Bytes
/
Copy pathpackage-info.java
File metadata and controls
22 lines (20 loc) · 899 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
/**
* API for resource information population.
*
* <p>The resources library primarily defines a type "Resource" that captures information about the
* entity for which stats or traces are recorded. For example, metrics exposed by a Kubernetes
* container can be linked to a resource that specifies the cluster, namespace, pod, and container
* name.
*
* <p>Attribute keys, and attribute values MUST contain only printable ASCII (codes between 32 and
* 126, inclusive) and less than 256 characters. Type and attribute keys MUST have a length greater
* than zero. They should start with a domain name and separate hierarchies with / characters, e.g.
* k8s.io/namespace/name.
*/
@ParametersAreNonnullByDefault
package io.opentelemetry.sdk.resources;
import javax.annotation.ParametersAreNonnullByDefault;