proxy.golang.org : github.com/DataDog/datadog-agent/pkg/opentelemetry-mapping-go/inframetadata : v0.70.0-rc.4
Package inframetadata handles host metadata and infrastructure list related features. It stores the host metadata and gohai payload definitions as well as the `Reporter` implementation. A `Reporter` keeps a `HostMap` (a map of hostnames to host metadata payloads) and periodically clears it out and reports the information using a `Pusher` The `Reporter` has three public methods: - The `Run() error` and `Stop()` methods manage its lifecycle - The `ConsumeResource(pcommon.Resource) (bool, error)` method ingests resources, updates host metadata payloads, and reports whether any changes or errors occurred during processing. Internally, the `Reporter` manages a `HostMap`, which has two public methods: - The `Update(host string, resource pcommon.Resource) (changed bool, err error)` method updates a hosts information and reports whether any changes or errors occurred during processing. - The `Extract() map[string]payloads.HostMetadata` method clears out the `HostMap` and returns a copy of its internal information.
Registry -
Documentation -
Download -
JSON -
codemeta.json
purl: pkg:golang/github.com/%21data%21dog/datadog-agent/pkg/opentelemetry-mapping-go/inframetadata@v0.70.0-rc.4
Published:
Indexed:
- ../../../pkg/opentelemetry-mapping-go/otlp/attributes *
- github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc
- github.com/go-logr/logr v1.4.3
- github.com/go-logr/stdr v1.2.2
- github.com/gogo/protobuf v1.3.2
- github.com/google/uuid v1.6.0
- github.com/hashicorp/go-version v1.7.0
- github.com/json-iterator/go v1.1.12
- github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
- github.com/modern-go/reflect2 v1.0.3-0.20250322232337-35a7c28c31ee
- github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2
- github.com/stretchr/testify v1.10.0
- go.opentelemetry.io/auto/sdk v1.1.0
- go.opentelemetry.io/collector/component v1.37.0
- go.opentelemetry.io/collector/featuregate v1.37.0
- go.opentelemetry.io/collector/internal/telemetry v0.131.0
- go.opentelemetry.io/collector/pdata v1.37.0
- go.opentelemetry.io/contrib/bridges/otelzap v0.12.0
- go.opentelemetry.io/otel v1.37.0
- go.opentelemetry.io/otel/log v0.13.0
- go.opentelemetry.io/otel/metric v1.37.0
- go.opentelemetry.io/otel/sdk v1.37.0
- go.opentelemetry.io/otel/trace v1.37.0
- go.uber.org/multierr v1.11.0
- go.uber.org/zap v1.27.0
- golang.org/x/net v0.42.0
- golang.org/x/sys v0.34.0
- golang.org/x/text v0.27.0
- google.golang.org/genproto/googleapis/rpc v0.0.0-20250603155806-513f23925822
- google.golang.org/grpc v1.74.2
- google.golang.org/protobuf v1.36.6
- gopkg.in/yaml.v3 v3.0.1