viam.gen.opentelemetry.proto.resource.v1.resource_pb2
@generated by mypy-protobuf. Do not edit manually! isort:skip_file Copyright 2019, OpenTelemetry Authors
Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Attributes
Classes
Resource information. |
Module Contents
- viam.gen.opentelemetry.proto.resource.v1.resource_pb2.DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
- class viam.gen.opentelemetry.proto.resource.v1.resource_pb2.Resource(*, attributes: collections.abc.Iterable[viam.gen.opentelemetry.proto.common.v1.common_pb2.KeyValue] | None = ..., dropped_attributes_count: int = ..., entity_refs: collections.abc.Iterable[viam.gen.opentelemetry.proto.common.v1.common_pb2.EntityRef] | None = ...)
Bases:
google.protobuf.message.MessageResource information.
- dropped_attributes_count: int
The number of dropped attributes. If the value is 0, then no attributes were dropped.
- property attributes: google.protobuf.internal.containers.RepeatedCompositeFieldContainer[viam.gen.opentelemetry.proto.common.v1.common_pb2.KeyValue]
Set of attributes that describe the resource. Attribute keys MUST be unique (it is not allowed to have more than one attribute with the same key). The behavior of software that receives duplicated keys can be unpredictable.
- property entity_refs: google.protobuf.internal.containers.RepeatedCompositeFieldContainer[viam.gen.opentelemetry.proto.common.v1.common_pb2.EntityRef]
Set of entities that participate in this Resource.
Note: keys in the references MUST exist in attributes of this message.
Status: [Development]
- viam.gen.opentelemetry.proto.resource.v1.resource_pb2.global___Resource