Skip to content

Commit dd3ab6a

Browse files
committed
Update the elasticattr package to include supported resource attributes
1 parent e9160fc commit dd3ab6a

File tree

1 file changed

+33
-2
lines changed

1 file changed

+33
-2
lines changed

elasticattr/attributes.go

Lines changed: 33 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,39 @@ package elasticattr
1919

2020
const (
2121
// resource s
22-
AgentName = "agent.name"
23-
AgentVersion = "agent.version"
22+
AgentName = "agent.name"
23+
AgentVersion = "agent.version"
24+
AgentEphemeralID = "agent.ephemeral_id"
25+
AgentActivationMethod = "agent.activation_method"
26+
CloudOriginAccountID = "cloud.origin.account.id"
27+
CloudOriginProvider = "cloud.origin.provider"
28+
CloudOriginRegion = "cloud.origin.region"
29+
CloudOriginServiceName = "cloud.origin.service.name"
30+
CloudAccountName = "cloud.account.name"
31+
CloudInstanceID = "cloud.instance.id"
32+
CloudInstanceName = "cloud.instance.name"
33+
CloudMachineType = "cloud.machine.type"
34+
CloudProjectID = "cloud.project.id"
35+
CloudProjectName = "cloud.project.name"
36+
ContainerImageTag = "container.image.tag"
37+
DeviceManufacturer = "device.manufacturer"
38+
DataStreamDataset = "data_stream.dataset"
39+
DataStreamNamespace = "data_stream.namespace"
40+
DestinationIP = "destination.ip"
41+
SourceNATIP = "source.nat.ip"
42+
FaaSExecution = "faas.execution"
43+
FaaSTriggerRequestID = "faas.trigger.request.id"
44+
HostOSPlatform = "host.os.platform"
45+
ProcessRuntimeName = "process.runtime.name"
46+
ProcessRuntimeVersion = "process.runtime.version"
47+
ServiceLanguageName = "service.language.name"
48+
ServiceLanguageVersion = "service.language.version"
49+
ServiceRuntimeName = "service.runtime.name"
50+
ServiceRuntimeVersion = "service.runtime.version"
51+
ServiceOriginID = "service.origin.id"
52+
ServiceOriginName = "service.origin.name"
53+
ServiceOriginVersion = "service.origin.version"
54+
UserDomain = "user.domain"
2455

2556
// scope s
2657
ServiceFrameworkName = "service.framework.name"

0 commit comments

Comments
 (0)