Documentation
¶
Overview ¶
Package semconv lists the OpenTelemetry attribute keys that batch format 6 stores in dedicated columns. keys_gen.go is generated by internal/cmd/semconvgen from the pinned semantic conventions release (`just semconv-generate`); a changed list needs a new batch format.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Keys = [...]Key{ {Name: "db.collection.name", Scope: Span, Type: String, Column: "_a_db_collection_name", Bit: 0, Source: "metric.db.client.operation.duration"}, {Name: "db.namespace", Scope: Span, Type: String, Column: "_a_db_namespace", Bit: 1, Source: "metric.db.client.operation.duration"}, {Name: "db.operation.name", Scope: Span, Type: String, Column: "_a_db_operation_name", Bit: 2, Source: "metric.db.client.operation.duration"}, {Name: "db.query.summary", Scope: Span, Type: String, Column: "_a_db_query_summary", Bit: 3, Source: "metric.db.client.operation.duration"}, {Name: "db.response.status_code", Scope: Span, Type: String, Column: "_a_db_response_status_code", Bit: 4, Source: "metric.db.client.operation.duration"}, {Name: "db.stored_procedure.name", Scope: Span, Type: String, Column: "_a_db_stored_procedure_name", Bit: 5, Source: "metric.db.client.operation.duration"}, {Name: "db.system.name", Scope: Span, Type: String, Column: "_a_db_system_name", Bit: 6, Source: "metric.db.client.operation.duration"}, {Name: "error.type", Scope: Span, Type: String, Column: "_a_error_type", Bit: 7, Source: "metric.http.server.request.duration"}, {Name: "http.request.method", Scope: Span, Type: String, Column: "_a_http_request_method", Bit: 8, Source: "metric.http.server.request.duration"}, {Name: "http.response.status_code", Scope: Span, Type: Int, Column: "_a_http_response_status_code", Bit: 9, Source: "metric.http.server.request.duration"}, {Name: "http.route", Scope: Span, Type: String, Column: "_a_http_route", Bit: 10, Source: "metric.http.server.request.duration"}, {Name: "network.peer.address", Scope: Span, Type: String, Column: "_a_network_peer_address", Bit: 11, Source: "metric.db.client.operation.duration"}, {Name: "network.peer.port", Scope: Span, Type: Int, Column: "_a_network_peer_port", Bit: 12, Source: "metric.db.client.operation.duration"}, {Name: "network.protocol.name", Scope: Span, Type: String, Column: "_a_network_protocol_name", Bit: 13, Source: "metric.http.server.request.duration"}, {Name: "network.protocol.version", Scope: Span, Type: String, Column: "_a_network_protocol_version", Bit: 14, Source: "metric.http.server.request.duration"}, {Name: "server.address", Scope: Span, Type: String, Column: "_a_server_address", Bit: 15, Source: "metric.http.client.request.duration"}, {Name: "server.port", Scope: Span, Type: Int, Column: "_a_server_port", Bit: 16, Source: "metric.http.client.request.duration"}, {Name: "url.scheme", Scope: Span, Type: String, Column: "_a_url_scheme", Bit: 17, Source: "metric.http.server.request.duration"}, {Name: "container.id", Scope: Resource, Type: String, Column: "_r_container_id", Bit: 18, Source: "registry.container"}, {Name: "container.image.name", Scope: Resource, Type: String, Column: "_r_container_image_name", Bit: 19, Source: "registry.container"}, {Name: "deployment.environment.name", Scope: Resource, Type: String, Column: "_r_deployment_environment_name", Bit: 20, Source: "registry.deployment"}, {Name: "k8s.cluster.name", Scope: Resource, Type: String, Column: "_r_k8s_cluster_name", Bit: 21, Source: "registry.k8s"}, {Name: "k8s.cluster.uid", Scope: Resource, Type: String, Column: "_r_k8s_cluster_uid", Bit: 22, Source: "registry.k8s"}, {Name: "k8s.container.name", Scope: Resource, Type: String, Column: "_r_k8s_container_name", Bit: 23, Source: "registry.k8s"}, {Name: "k8s.container.restart_count", Scope: Resource, Type: Int, Column: "_r_k8s_container_restart_count", Bit: 24, Source: "registry.k8s"}, {Name: "k8s.cronjob.name", Scope: Resource, Type: String, Column: "_r_k8s_cronjob_name", Bit: 25, Source: "registry.k8s"}, {Name: "k8s.cronjob.uid", Scope: Resource, Type: String, Column: "_r_k8s_cronjob_uid", Bit: 26, Source: "registry.k8s"}, {Name: "k8s.daemonset.name", Scope: Resource, Type: String, Column: "_r_k8s_daemonset_name", Bit: 27, Source: "registry.k8s"}, {Name: "k8s.daemonset.uid", Scope: Resource, Type: String, Column: "_r_k8s_daemonset_uid", Bit: 28, Source: "registry.k8s"}, {Name: "k8s.deployment.name", Scope: Resource, Type: String, Column: "_r_k8s_deployment_name", Bit: 29, Source: "registry.k8s"}, {Name: "k8s.deployment.uid", Scope: Resource, Type: String, Column: "_r_k8s_deployment_uid", Bit: 30, Source: "registry.k8s"}, {Name: "k8s.job.name", Scope: Resource, Type: String, Column: "_r_k8s_job_name", Bit: 31, Source: "registry.k8s"}, {Name: "k8s.job.uid", Scope: Resource, Type: String, Column: "_r_k8s_job_uid", Bit: 32, Source: "registry.k8s"}, {Name: "k8s.namespace.name", Scope: Resource, Type: String, Column: "_r_k8s_namespace_name", Bit: 33, Source: "registry.k8s"}, {Name: "k8s.node.name", Scope: Resource, Type: String, Column: "_r_k8s_node_name", Bit: 34, Source: "registry.k8s"}, {Name: "k8s.node.uid", Scope: Resource, Type: String, Column: "_r_k8s_node_uid", Bit: 35, Source: "registry.k8s"}, {Name: "k8s.pod.hostname", Scope: Resource, Type: String, Column: "_r_k8s_pod_hostname", Bit: 36, Source: "registry.k8s"}, {Name: "k8s.pod.ip", Scope: Resource, Type: String, Column: "_r_k8s_pod_ip", Bit: 37, Source: "registry.k8s"}, {Name: "k8s.pod.name", Scope: Resource, Type: String, Column: "_r_k8s_pod_name", Bit: 38, Source: "registry.k8s"}, {Name: "k8s.pod.start_time", Scope: Resource, Type: String, Column: "_r_k8s_pod_start_time", Bit: 39, Source: "registry.k8s"}, {Name: "k8s.pod.uid", Scope: Resource, Type: String, Column: "_r_k8s_pod_uid", Bit: 40, Source: "registry.k8s"}, {Name: "k8s.replicaset.name", Scope: Resource, Type: String, Column: "_r_k8s_replicaset_name", Bit: 41, Source: "registry.k8s"}, {Name: "k8s.replicaset.uid", Scope: Resource, Type: String, Column: "_r_k8s_replicaset_uid", Bit: 42, Source: "registry.k8s"}, {Name: "k8s.statefulset.name", Scope: Resource, Type: String, Column: "_r_k8s_statefulset_name", Bit: 43, Source: "registry.k8s"}, {Name: "k8s.statefulset.uid", Scope: Resource, Type: String, Column: "_r_k8s_statefulset_uid", Bit: 44, Source: "registry.k8s"}, {Name: "service.instance.id", Scope: Resource, Type: String, Column: "_r_service_instance_id", Bit: 45, Source: "registry.service"}, {Name: "service.version", Scope: Resource, Type: String, Column: "_r_service_version", Bit: 46, Source: "registry.service"}, }
Keys lists the dedicated columns in bit order.
Functions ¶
This section is empty.
Types ¶
type Key ¶
Key is one dedicated column. Bit is the key's position in Keys, which indexes per-key spill counts; Source is the semconv group that selected it.