geoipprocessor.json•1.09 kB
{
"fields": [
{
"name": "Providers",
"type": "map[string]provider.Config",
"description": "Providers specifies the sources to extract geographical information about a given IP.",
"required": true,
"mapstructureTag": "-"
},
{
"name": "Context",
"type": "ContextID",
"description": "Context section allows specifying the source type to look for the IP. Available options: resource or record.",
"required": true,
"mapstructureTag": "context"
},
{
"name": "Attributes",
"type": "[]attribute.Key",
"description": "An array of attribute names, which are used for the IP address lookup",
"required": true,
"mapstructureTag": "attributes"
}
],
"imports": [
"errors",
"fmt",
"strings",
"go.opentelemetry.io/collector/component",
"go.opentelemetry.io/collector/confmap",
"go.opentelemetry.io/otel/attribute",
"github.com/open-telemetry/opentelemetry-collector-contrib/processor/geoipprocessor/internal/provider"
],
"packageName": "geoipprocessor"
}