-
Notifications
You must be signed in to change notification settings - Fork 1.5k
/
generated_attribute_group.go
4796 lines (4680 loc) · 164 KB
/
generated_attribute_group.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Copyright The OpenTelemetry Authors
// SPDX-License-Identifier: Apache-2.0
// Code generated from semantic convention specification. DO NOT EDIT.
package semconv
// Attributes for Events represented using Log Records.
const (
// Identifies the class / type of event.
//
// Type: string
// Requirement Level: Required
// Stability: experimental
// Examples: 'browser.mouse.click', 'device.app.lifecycle'
// Note: Event names are subject to the same rules as attribute names. Notably,
// event names are namespaced to avoid collisions and provide a clean separation
// of semantics for events in separate domains like browser, mobile, and
// kubernetes.
AttributeEventName = "event.name"
)
// The attributes described in this section are rather generic. They may be
// used in any Log Record they apply to.
const (
// A unique identifier for the Log Record.
//
// Type: string
// Requirement Level: Optional
// Stability: experimental
// Examples: '01ARZ3NDEKTSV4RRFFQ69G5FAV'
// Note: If an id is provided, other log records with the same id will be
// considered duplicates and can be removed safely. This means, that two
// distinguishable log records MUST have different values.
// The id MAY be an Universally Unique Lexicographically Sortable Identifier
// (ULID), but other identifiers (e.g. UUID) may be used as needed.
AttributeLogRecordUID = "log.record.uid"
)
// Describes Log attributes
const (
// The stream associated with the log. See below for a list of well-known values.
//
// Type: Enum
// Requirement Level: Optional
// Stability: experimental
AttributeLogIostream = "log.iostream"
)
const (
// Logs from stdout stream
AttributeLogIostreamStdout = "stdout"
// Events from stderr stream
AttributeLogIostreamStderr = "stderr"
)
// A file to which log was emitted.
const (
// The basename of the file.
//
// Type: string
// Requirement Level: Recommended
// Stability: experimental
// Examples: 'audit.log'
AttributeLogFileName = "log.file.name"
// The basename of the file, with symlinks resolved.
//
// Type: string
// Requirement Level: Optional
// Stability: experimental
// Examples: 'uuid.log'
AttributeLogFileNameResolved = "log.file.name_resolved"
// The full path to the file.
//
// Type: string
// Requirement Level: Optional
// Stability: experimental
// Examples: '/var/log/mysql/audit.log'
AttributeLogFilePath = "log.file.path"
// The full path to the file, with symlinks resolved.
//
// Type: string
// Requirement Level: Optional
// Stability: experimental
// Examples: '/var/lib/docker/uuid.log'
AttributeLogFilePathResolved = "log.file.path_resolved"
)
// Describes Database attributes
const (
// The name of the connection pool; unique within the instrumented application. In
// case the connection pool implementation doesn't provide a name, instrumentation
// should use a combination of server.address and server.port attributes formatted
// as server.address:server.port.
//
// Type: string
// Requirement Level: Required
// Stability: experimental
// Examples: 'myDataSource'
AttributePoolName = "pool.name"
// The state of a connection in the pool
//
// Type: Enum
// Requirement Level: Required
// Stability: experimental
// Examples: 'idle'
AttributeState = "state"
)
const (
// idle
AttributeStateIdle = "idle"
// used
AttributeStateUsed = "used"
)
// ASP.NET Core attributes
const (
// Rate-limiting result, shows whether the lease was acquired or contains a
// rejection reason
//
// Type: Enum
// Requirement Level: Required
// Stability: stable
// Examples: 'acquired', 'request_canceled'
AttributeAspnetcoreRateLimitingResult = "aspnetcore.rate_limiting.result"
// Full type name of the IExceptionHandler implementation that handled the
// exception.
//
// Type: string
// Requirement Level: Conditionally Required - if and only if the exception was
// handled by this handler.
// Stability: stable
// Examples: 'Contoso.MyHandler'
AttributeAspnetcoreDiagnosticsHandlerType = "aspnetcore.diagnostics.handler.type"
// Rate limiting policy name.
//
// Type: string
// Requirement Level: Conditionally Required - if the matched endpoint for the
// request had a rate-limiting policy.
// Stability: stable
// Examples: 'fixed', 'sliding', 'token'
AttributeAspnetcoreRateLimitingPolicy = "aspnetcore.rate_limiting.policy"
// Flag indicating if request was handled by the application pipeline.
//
// Type: boolean
// Requirement Level: Conditionally Required - if and only if the request was not
// handled.
// Stability: stable
// Examples: True
AttributeAspnetcoreRequestIsUnhandled = "aspnetcore.request.is_unhandled"
// A value that indicates whether the matched route is a fallback route.
//
// Type: boolean
// Requirement Level: Conditionally Required - If and only if a route was
// successfully matched.
// Stability: stable
// Examples: True
AttributeAspnetcoreRoutingIsFallback = "aspnetcore.routing.is_fallback"
)
const (
// Lease was acquired
AttributeAspnetcoreRateLimitingResultAcquired = "acquired"
// Lease request was rejected by the endpoint limiter
AttributeAspnetcoreRateLimitingResultEndpointLimiter = "endpoint_limiter"
// Lease request was rejected by the global limiter
AttributeAspnetcoreRateLimitingResultGlobalLimiter = "global_limiter"
// Lease request was canceled
AttributeAspnetcoreRateLimitingResultRequestCanceled = "request_canceled"
)
// SignalR attributes
const (
// SignalR HTTP connection closure status.
//
// Type: Enum
// Requirement Level: Optional
// Stability: stable
// Examples: 'app_shutdown', 'timeout'
AttributeSignalrConnectionStatus = "signalr.connection.status"
// SignalR transport type
//
// Type: Enum
// Requirement Level: Optional
// Stability: stable
// Examples: 'web_sockets', 'long_polling'
AttributeSignalrTransport = "signalr.transport"
)
const (
// The connection was closed normally
AttributeSignalrConnectionStatusNormalClosure = "normal_closure"
// The connection was closed due to a timeout
AttributeSignalrConnectionStatusTimeout = "timeout"
// The connection was closed because the app is shutting down
AttributeSignalrConnectionStatusAppShutdown = "app_shutdown"
)
const (
// ServerSentEvents protocol
AttributeSignalrTransportServerSentEvents = "server_sent_events"
// LongPolling protocol
AttributeSignalrTransportLongPolling = "long_polling"
// WebSockets protocol
AttributeSignalrTransportWebSockets = "web_sockets"
)
// Describes JVM buffer metric attributes.
const (
// Name of the buffer pool.
//
// Type: string
// Requirement Level: Recommended
// Stability: experimental
// Examples: 'mapped', 'direct'
// Note: Pool names are generally obtained via BufferPoolMXBean#getName().
AttributeJvmBufferPoolName = "jvm.buffer.pool.name"
)
// Describes JVM memory metric attributes.
const (
// Name of the memory pool.
//
// Type: string
// Requirement Level: Recommended
// Stability: stable
// Examples: 'G1 Old Gen', 'G1 Eden space', 'G1 Survivor Space'
// Note: Pool names are generally obtained via MemoryPoolMXBean#getName().
AttributeJvmMemoryPoolName = "jvm.memory.pool.name"
// The type of memory.
//
// Type: Enum
// Requirement Level: Recommended
// Stability: stable
// Examples: 'heap', 'non_heap'
AttributeJvmMemoryType = "jvm.memory.type"
)
const (
// Heap memory
AttributeJvmMemoryTypeHeap = "heap"
// Non-heap memory
AttributeJvmMemoryTypeNonHeap = "non_heap"
)
// Attributes for process CPU metrics.
const (
// The CPU state for this data point. A process SHOULD be characterized either by
// data points with no state labels, or only data points with state labels.
//
// Type: Enum
// Requirement Level: Optional
// Stability: experimental
AttributeProcessCPUState = "process.cpu.state"
)
const (
// system
AttributeProcessCPUStateSystem = "system"
// user
AttributeProcessCPUStateUser = "user"
// wait
AttributeProcessCPUStateWait = "wait"
)
// Describes System metric attributes
const (
// The device identifier
//
// Type: string
// Requirement Level: Optional
// Stability: experimental
// Examples: '(identifier)'
AttributeSystemDevice = "system.device"
)
// Describes System CPU metric attributes
const (
// The logical CPU number [0..n-1]
//
// Type: int
// Requirement Level: Optional
// Stability: experimental
// Examples: 1
AttributeSystemCPULogicalNumber = "system.cpu.logical_number"
// The CPU state for this data point. A system's CPU SHOULD be characterized
// either by data points with no state labels, or only data points with state
// labels.
//
// Type: Enum
// Requirement Level: Optional
// Stability: experimental
// Examples: 'idle', 'interrupt'
AttributeSystemCPUState = "system.cpu.state"
)
const (
// user
AttributeSystemCPUStateUser = "user"
// system
AttributeSystemCPUStateSystem = "system"
// nice
AttributeSystemCPUStateNice = "nice"
// idle
AttributeSystemCPUStateIdle = "idle"
// iowait
AttributeSystemCPUStateIowait = "iowait"
// interrupt
AttributeSystemCPUStateInterrupt = "interrupt"
// steal
AttributeSystemCPUStateSteal = "steal"
)
// Describes System Memory metric attributes
const (
// The memory state
//
// Type: Enum
// Requirement Level: Optional
// Stability: experimental
// Examples: 'free', 'cached'
AttributeSystemMemoryState = "system.memory.state"
)
const (
// used
AttributeSystemMemoryStateUsed = "used"
// free
AttributeSystemMemoryStateFree = "free"
// shared
AttributeSystemMemoryStateShared = "shared"
// buffers
AttributeSystemMemoryStateBuffers = "buffers"
// cached
AttributeSystemMemoryStateCached = "cached"
)
// Describes System Memory Paging metric attributes
const (
// The paging access direction
//
// Type: Enum
// Requirement Level: Optional
// Stability: experimental
// Examples: 'in'
AttributeSystemPagingDirection = "system.paging.direction"
// The memory paging state
//
// Type: Enum
// Requirement Level: Optional
// Stability: experimental
// Examples: 'free'
AttributeSystemPagingState = "system.paging.state"
// The memory paging type
//
// Type: Enum
// Requirement Level: Optional
// Stability: experimental
// Examples: 'minor'
AttributeSystemPagingType = "system.paging.type"
)
const (
// in
AttributeSystemPagingDirectionIn = "in"
// out
AttributeSystemPagingDirectionOut = "out"
)
const (
// used
AttributeSystemPagingStateUsed = "used"
// free
AttributeSystemPagingStateFree = "free"
)
const (
// major
AttributeSystemPagingTypeMajor = "major"
// minor
AttributeSystemPagingTypeMinor = "minor"
)
// Describes Filesystem metric attributes
const (
// The filesystem mode
//
// Type: string
// Requirement Level: Optional
// Stability: experimental
// Examples: 'rw, ro'
AttributeSystemFilesystemMode = "system.filesystem.mode"
// The filesystem mount path
//
// Type: string
// Requirement Level: Optional
// Stability: experimental
// Examples: '/mnt/data'
AttributeSystemFilesystemMountpoint = "system.filesystem.mountpoint"
// The filesystem state
//
// Type: Enum
// Requirement Level: Optional
// Stability: experimental
// Examples: 'used'
AttributeSystemFilesystemState = "system.filesystem.state"
// The filesystem type
//
// Type: Enum
// Requirement Level: Optional
// Stability: experimental
// Examples: 'ext4'
AttributeSystemFilesystemType = "system.filesystem.type"
)
const (
// used
AttributeSystemFilesystemStateUsed = "used"
// free
AttributeSystemFilesystemStateFree = "free"
// reserved
AttributeSystemFilesystemStateReserved = "reserved"
)
const (
// fat32
AttributeSystemFilesystemTypeFat32 = "fat32"
// exfat
AttributeSystemFilesystemTypeExfat = "exfat"
// ntfs
AttributeSystemFilesystemTypeNtfs = "ntfs"
// refs
AttributeSystemFilesystemTypeRefs = "refs"
// hfsplus
AttributeSystemFilesystemTypeHfsplus = "hfsplus"
// ext4
AttributeSystemFilesystemTypeExt4 = "ext4"
)
// Describes Network metric attributes
const (
// A stateless protocol MUST NOT set this attribute
//
// Type: Enum
// Requirement Level: Optional
// Stability: experimental
// Examples: 'close_wait'
AttributeSystemNetworkState = "system.network.state"
)
const (
// close
AttributeSystemNetworkStateClose = "close"
// close_wait
AttributeSystemNetworkStateCloseWait = "close_wait"
// closing
AttributeSystemNetworkStateClosing = "closing"
// delete
AttributeSystemNetworkStateDelete = "delete"
// established
AttributeSystemNetworkStateEstablished = "established"
// fin_wait_1
AttributeSystemNetworkStateFinWait1 = "fin_wait_1"
// fin_wait_2
AttributeSystemNetworkStateFinWait2 = "fin_wait_2"
// last_ack
AttributeSystemNetworkStateLastAck = "last_ack"
// listen
AttributeSystemNetworkStateListen = "listen"
// syn_recv
AttributeSystemNetworkStateSynRecv = "syn_recv"
// syn_sent
AttributeSystemNetworkStateSynSent = "syn_sent"
// time_wait
AttributeSystemNetworkStateTimeWait = "time_wait"
)
// Describes System Process metric attributes
const (
// The process state, e.g., Linux Process State Codes
//
// Type: Enum
// Requirement Level: Optional
// Stability: experimental
// Examples: 'running'
AttributeSystemProcessStatus = "system.process.status"
)
const (
// running
AttributeSystemProcessStatusRunning = "running"
// sleeping
AttributeSystemProcessStatusSleeping = "sleeping"
// stopped
AttributeSystemProcessStatusStopped = "stopped"
// defunct
AttributeSystemProcessStatusDefunct = "defunct"
)
// The Android platform on which the Android application is running.
const (
// Uniquely identifies the framework API revision offered by a version
// (os.version) of the android operating system. More information can be found
// here.
//
// Type: string
// Requirement Level: Optional
// Stability: experimental
// Examples: '33', '32'
AttributeAndroidOSAPILevel = "android.os.api_level"
)
// Attributes for AWS DynamoDB.
const (
// The JSON-serialized value of each item in the AttributeDefinitions request
// field.
//
// Type: string[]
// Requirement Level: Optional
// Stability: experimental
// Examples: '{ "AttributeName": "string", "AttributeType": "string" }'
AttributeAWSDynamoDBAttributeDefinitions = "aws.dynamodb.attribute_definitions"
// The value of the AttributesToGet request parameter.
//
// Type: string[]
// Requirement Level: Optional
// Stability: experimental
// Examples: 'lives', 'id'
AttributeAWSDynamoDBAttributesToGet = "aws.dynamodb.attributes_to_get"
// The value of the ConsistentRead request parameter.
//
// Type: boolean
// Requirement Level: Optional
// Stability: experimental
AttributeAWSDynamoDBConsistentRead = "aws.dynamodb.consistent_read"
// The JSON-serialized value of each item in the ConsumedCapacity response field.
//
// Type: string[]
// Requirement Level: Optional
// Stability: experimental
// Examples: '{ "CapacityUnits": number, "GlobalSecondaryIndexes": { "string" : {
// "CapacityUnits": number, "ReadCapacityUnits": number, "WriteCapacityUnits":
// number } }, "LocalSecondaryIndexes": { "string" : { "CapacityUnits": number,
// "ReadCapacityUnits": number, "WriteCapacityUnits": number } },
// "ReadCapacityUnits": number, "Table": { "CapacityUnits": number,
// "ReadCapacityUnits": number, "WriteCapacityUnits": number }, "TableName":
// "string", "WriteCapacityUnits": number }'
AttributeAWSDynamoDBConsumedCapacity = "aws.dynamodb.consumed_capacity"
// The value of the Count response parameter.
//
// Type: int
// Requirement Level: Optional
// Stability: experimental
// Examples: 10
AttributeAWSDynamoDBCount = "aws.dynamodb.count"
// The value of the ExclusiveStartTableName request parameter.
//
// Type: string
// Requirement Level: Optional
// Stability: experimental
// Examples: 'Users', 'CatsTable'
AttributeAWSDynamoDBExclusiveStartTable = "aws.dynamodb.exclusive_start_table"
// The JSON-serialized value of each item in the GlobalSecondaryIndexUpdates
// request field.
//
// Type: string[]
// Requirement Level: Optional
// Stability: experimental
// Examples: '{ "Create": { "IndexName": "string", "KeySchema": [ {
// "AttributeName": "string", "KeyType": "string" } ], "Projection": {
// "NonKeyAttributes": [ "string" ], "ProjectionType": "string" },
// "ProvisionedThroughput": { "ReadCapacityUnits": number, "WriteCapacityUnits":
// number } }'
AttributeAWSDynamoDBGlobalSecondaryIndexUpdates = "aws.dynamodb.global_secondary_index_updates"
// The JSON-serialized value of each item of the GlobalSecondaryIndexes request
// field
//
// Type: string[]
// Requirement Level: Optional
// Stability: experimental
// Examples: '{ "IndexName": "string", "KeySchema": [ { "AttributeName": "string",
// "KeyType": "string" } ], "Projection": { "NonKeyAttributes": [ "string" ],
// "ProjectionType": "string" }, "ProvisionedThroughput": { "ReadCapacityUnits":
// number, "WriteCapacityUnits": number } }'
AttributeAWSDynamoDBGlobalSecondaryIndexes = "aws.dynamodb.global_secondary_indexes"
// The value of the IndexName request parameter.
//
// Type: string
// Requirement Level: Optional
// Stability: experimental
// Examples: 'name_to_group'
AttributeAWSDynamoDBIndexName = "aws.dynamodb.index_name"
// The JSON-serialized value of the ItemCollectionMetrics response field.
//
// Type: string
// Requirement Level: Optional
// Stability: experimental
// Examples: '{ "string" : [ { "ItemCollectionKey": { "string" : { "B": blob,
// "BOOL": boolean, "BS": [ blob ], "L": [ "AttributeValue" ], "M": { "string" :
// "AttributeValue" }, "N": "string", "NS": [ "string" ], "NULL": boolean, "S":
// "string", "SS": [ "string" ] } }, "SizeEstimateRangeGB": [ number ] } ] }'
AttributeAWSDynamoDBItemCollectionMetrics = "aws.dynamodb.item_collection_metrics"
// The value of the Limit request parameter.
//
// Type: int
// Requirement Level: Optional
// Stability: experimental
// Examples: 10
AttributeAWSDynamoDBLimit = "aws.dynamodb.limit"
// The JSON-serialized value of each item of the LocalSecondaryIndexes request
// field.
//
// Type: string[]
// Requirement Level: Optional
// Stability: experimental
// Examples: '{ "IndexARN": "string", "IndexName": "string", "IndexSizeBytes":
// number, "ItemCount": number, "KeySchema": [ { "AttributeName": "string",
// "KeyType": "string" } ], "Projection": { "NonKeyAttributes": [ "string" ],
// "ProjectionType": "string" } }'
AttributeAWSDynamoDBLocalSecondaryIndexes = "aws.dynamodb.local_secondary_indexes"
// The value of the ProjectionExpression request parameter.
//
// Type: string
// Requirement Level: Optional
// Stability: experimental
// Examples: 'Title', 'Title, Price, Color', 'Title, Description, RelatedItems,
// ProductReviews'
AttributeAWSDynamoDBProjection = "aws.dynamodb.projection"
// The value of the ProvisionedThroughput.ReadCapacityUnits request parameter.
//
// Type: double
// Requirement Level: Optional
// Stability: experimental
// Examples: 1.0, 2.0
AttributeAWSDynamoDBProvisionedReadCapacity = "aws.dynamodb.provisioned_read_capacity"
// The value of the ProvisionedThroughput.WriteCapacityUnits request parameter.
//
// Type: double
// Requirement Level: Optional
// Stability: experimental
// Examples: 1.0, 2.0
AttributeAWSDynamoDBProvisionedWriteCapacity = "aws.dynamodb.provisioned_write_capacity"
// The value of the ScanIndexForward request parameter.
//
// Type: boolean
// Requirement Level: Optional
// Stability: experimental
AttributeAWSDynamoDBScanForward = "aws.dynamodb.scan_forward"
// The value of the ScannedCount response parameter.
//
// Type: int
// Requirement Level: Optional
// Stability: experimental
// Examples: 50
AttributeAWSDynamoDBScannedCount = "aws.dynamodb.scanned_count"
// The value of the Segment request parameter.
//
// Type: int
// Requirement Level: Optional
// Stability: experimental
// Examples: 10
AttributeAWSDynamoDBSegment = "aws.dynamodb.segment"
// The value of the Select request parameter.
//
// Type: string
// Requirement Level: Optional
// Stability: experimental
// Examples: 'ALL_ATTRIBUTES', 'COUNT'
AttributeAWSDynamoDBSelect = "aws.dynamodb.select"
// The number of items in the TableNames response parameter.
//
// Type: int
// Requirement Level: Optional
// Stability: experimental
// Examples: 20
AttributeAWSDynamoDBTableCount = "aws.dynamodb.table_count"
// The keys in the RequestItems object field.
//
// Type: string[]
// Requirement Level: Optional
// Stability: experimental
// Examples: 'Users', 'Cats'
AttributeAWSDynamoDBTableNames = "aws.dynamodb.table_names"
// The value of the TotalSegments request parameter.
//
// Type: int
// Requirement Level: Optional
// Stability: experimental
// Examples: 100
AttributeAWSDynamoDBTotalSegments = "aws.dynamodb.total_segments"
)
// The web browser attributes
const (
// Array of brand name and version separated by a space
//
// Type: string[]
// Requirement Level: Optional
// Stability: experimental
// Examples: ' Not A;Brand 99', 'Chromium 99', 'Chrome 99'
// Note: This value is intended to be taken from the UA client hints API
// (navigator.userAgentData.brands).
AttributeBrowserBrands = "browser.brands"
// Preferred language of the user using the browser
//
// Type: string
// Requirement Level: Optional
// Stability: experimental
// Examples: 'en', 'en-US', 'fr', 'fr-FR'
// Note: This value is intended to be taken from the Navigator API
// navigator.language.
AttributeBrowserLanguage = "browser.language"
// A boolean that is true if the browser is running on a mobile device
//
// Type: boolean
// Requirement Level: Optional
// Stability: experimental
// Note: This value is intended to be taken from the UA client hints API
// (navigator.userAgentData.mobile). If unavailable, this attribute SHOULD be left
// unset.
AttributeBrowserMobile = "browser.mobile"
// The platform on which the browser is running
//
// Type: string
// Requirement Level: Optional
// Stability: experimental
// Examples: 'Windows', 'macOS', 'Android'
// Note: This value is intended to be taken from the UA client hints API
// (navigator.userAgentData.platform). If unavailable, the legacy
// navigator.platform API SHOULD NOT be used instead and this attribute SHOULD be
// left unset in order for the values to be consistent.
// The list of possible values is defined in the W3C User-Agent Client Hints
// specification. Note that some (but not all) of these values can overlap with
// values in the os.type and os.name attributes. However, for consistency, the
// values in the browser.platform attribute should capture the exact value that
// the user agent provides.
AttributeBrowserPlatform = "browser.platform"
)
// These attributes may be used to describe the client in a connection-based
// network interaction where there is one side that initiates the connection
// (the client is the side that initiates the connection). This covers all TCP
// network interactions since TCP is connection-based and one side initiates
// the connection (an exception is made for peer-to-peer communication over TCP
// where the "user-facing" surface of the protocol / API doesn't expose a clear
// notion of client and server). This also covers UDP network interactions
// where one side initiates the interaction, e.g. QUIC (HTTP/3) and DNS.
const (
// Client address - domain name if available without reverse DNS lookup;
// otherwise, IP address or Unix domain socket name.
//
// Type: string
// Requirement Level: Optional
// Stability: stable
// Examples: 'client.example.com', '10.1.2.80', '/tmp/my.sock'
// Note: When observed from the server side, and when communicating through an
// intermediary, client.address SHOULD represent the client address behind any
// intermediaries, for example proxies, if it's available.
AttributeClientAddress = "client.address"
// Client port number.
//
// Type: int
// Requirement Level: Optional
// Stability: stable
// Examples: 65123
// Note: When observed from the server side, and when communicating through an
// intermediary, client.port SHOULD represent the client port behind any
// intermediaries, for example proxies, if it's available.
AttributeClientPort = "client.port"
)
// A cloud environment (e.g. GCP, Azure, AWS).
const (
// The cloud account ID the resource is assigned to.
//
// Type: string
// Requirement Level: Optional
// Stability: experimental
// Examples: '111111111111', 'opentelemetry'
AttributeCloudAccountID = "cloud.account.id"
// Cloud regions often have multiple, isolated locations known as zones to
// increase availability. Availability zone represents the zone where the resource
// is running.
//
// Type: string
// Requirement Level: Optional
// Stability: experimental
// Examples: 'us-east-1c'
// Note: Availability zones are called "zones" on Alibaba Cloud and
// Google Cloud.
AttributeCloudAvailabilityZone = "cloud.availability_zone"
// The cloud platform in use.
//
// Type: Enum
// Requirement Level: Optional
// Stability: experimental
// Note: The prefix of the service SHOULD match the one specified in
// cloud.provider.
AttributeCloudPlatform = "cloud.platform"
// Name of the cloud provider.
//
// Type: Enum
// Requirement Level: Optional
// Stability: experimental
AttributeCloudProvider = "cloud.provider"
// The geographical region the resource is running.
//
// Type: string
// Requirement Level: Optional
// Stability: experimental
// Examples: 'us-central1', 'us-east-1'
// Note: Refer to your provider's docs to see the available regions, for example
// Alibaba Cloud regions, AWS regions, Azure regions, Google Cloud regions, or
// Tencent Cloud regions.
AttributeCloudRegion = "cloud.region"
// Cloud provider-specific native identifier of the monitored cloud resource (e.g.
// an ARN on AWS, a fully qualified resource ID on Azure, a full resource name on
// GCP)
//
// Type: string
// Requirement Level: Optional
// Stability: experimental
// Examples: 'arn:aws:lambda:REGION:ACCOUNT_ID:function:my-function', '//run.googl
// eapis.com/projects/PROJECT_ID/locations/LOCATION_ID/services/SERVICE_ID', '/sub
// scriptions/<SUBSCRIPTION_GUID>/resourceGroups/<RG>/providers/Microsoft.Web/sites
// /<FUNCAPP>/functions/<FUNC>'
// Note: On some cloud providers, it may not be possible to determine the full ID
// at startup,
// so it may be necessary to set cloud.resource_id as a span attribute instead.The
// exact value to use for cloud.resource_id depends on the cloud provider.
// The following well-known definitions MUST be used if you set this attribute and
// they apply:<ul>
// <li>AWS Lambda: The function ARN.
// Take care not to use the "invoked ARN" directly but replace any
// alias suffix
// with the resolved function version, as the same runtime instance may be
// invocable with
// multiple different aliases.</li>
// <li>GCP: The URI of the resource</li>
// <li>Azure: The Fully Qualified Resource ID of the invoked function,
// not the function app, having the form
// /subscriptions/<SUBSCRIPTION_GUID>/resourceGroups/<RG>/providers/Microsoft.Web/s
// ites/<FUNCAPP>/functions/<FUNC>.
// This means that a span attribute MUST be used, as an Azure function app can
// host multiple functions that would usually share
// a TracerProvider.</li>
// </ul>
AttributeCloudResourceID = "cloud.resource_id"
)
const (
// Alibaba Cloud Elastic Compute Service
AttributeCloudPlatformAlibabaCloudECS = "alibaba_cloud_ecs"
// Alibaba Cloud Function Compute
AttributeCloudPlatformAlibabaCloudFc = "alibaba_cloud_fc"
// Red Hat OpenShift on Alibaba Cloud
AttributeCloudPlatformAlibabaCloudOpenshift = "alibaba_cloud_openshift"
// AWS Elastic Compute Cloud
AttributeCloudPlatformAWSEC2 = "aws_ec2"
// AWS Elastic Container Service
AttributeCloudPlatformAWSECS = "aws_ecs"
// AWS Elastic Kubernetes Service
AttributeCloudPlatformAWSEKS = "aws_eks"
// AWS Lambda
AttributeCloudPlatformAWSLambda = "aws_lambda"
// AWS Elastic Beanstalk
AttributeCloudPlatformAWSElasticBeanstalk = "aws_elastic_beanstalk"
// AWS App Runner
AttributeCloudPlatformAWSAppRunner = "aws_app_runner"
// Red Hat OpenShift on AWS (ROSA)
AttributeCloudPlatformAWSOpenshift = "aws_openshift"
// Azure Virtual Machines
AttributeCloudPlatformAzureVM = "azure_vm"
// Azure Container Apps
AttributeCloudPlatformAzureContainerApps = "azure_container_apps"
// Azure Container Instances
AttributeCloudPlatformAzureContainerInstances = "azure_container_instances"
// Azure Kubernetes Service
AttributeCloudPlatformAzureAKS = "azure_aks"
// Azure Functions
AttributeCloudPlatformAzureFunctions = "azure_functions"
// Azure App Service
AttributeCloudPlatformAzureAppService = "azure_app_service"
// Azure Red Hat OpenShift
AttributeCloudPlatformAzureOpenshift = "azure_openshift"
// Google Bare Metal Solution (BMS)
AttributeCloudPlatformGCPBareMetalSolution = "gcp_bare_metal_solution"
// Google Cloud Compute Engine (GCE)
AttributeCloudPlatformGCPComputeEngine = "gcp_compute_engine"
// Google Cloud Run
AttributeCloudPlatformGCPCloudRun = "gcp_cloud_run"
// Google Cloud Kubernetes Engine (GKE)
AttributeCloudPlatformGCPKubernetesEngine = "gcp_kubernetes_engine"
// Google Cloud Functions (GCF)
AttributeCloudPlatformGCPCloudFunctions = "gcp_cloud_functions"
// Google Cloud App Engine (GAE)
AttributeCloudPlatformGCPAppEngine = "gcp_app_engine"
// Red Hat OpenShift on Google Cloud
AttributeCloudPlatformGCPOpenshift = "gcp_openshift"
// Red Hat OpenShift on IBM Cloud
AttributeCloudPlatformIbmCloudOpenshift = "ibm_cloud_openshift"
// Tencent Cloud Cloud Virtual Machine (CVM)
AttributeCloudPlatformTencentCloudCvm = "tencent_cloud_cvm"
// Tencent Cloud Elastic Kubernetes Service (EKS)
AttributeCloudPlatformTencentCloudEKS = "tencent_cloud_eks"
// Tencent Cloud Serverless Cloud Function (SCF)
AttributeCloudPlatformTencentCloudScf = "tencent_cloud_scf"
)
const (
// Alibaba Cloud
AttributeCloudProviderAlibabaCloud = "alibaba_cloud"
// Amazon Web Services
AttributeCloudProviderAWS = "aws"
// Microsoft Azure
AttributeCloudProviderAzure = "azure"
// Google Cloud Platform
AttributeCloudProviderGCP = "gcp"
// Heroku Platform as a Service
AttributeCloudProviderHeroku = "heroku"
// IBM Cloud
AttributeCloudProviderIbmCloud = "ibm_cloud"
// Tencent Cloud
AttributeCloudProviderTencentCloud = "tencent_cloud"
)
// Attributes for CloudEvents.
const (
// The event_id uniquely identifies the event.
//
// Type: string
// Requirement Level: Optional
// Stability: experimental
// Examples: '123e4567-e89b-12d3-a456-426614174000', '0001'
AttributeCloudeventsEventID = "cloudevents.event_id"
// The source identifies the context in which an event happened.
//
// Type: string
// Requirement Level: Optional
// Stability: experimental
// Examples: 'https://github.com/cloudevents', '/cloudevents/spec/pull/123', 'my-
// service'
AttributeCloudeventsEventSource = "cloudevents.event_source"
// The version of the CloudEvents specification which the event uses.
//
// Type: string
// Requirement Level: Optional
// Stability: experimental
// Examples: '1.0'
AttributeCloudeventsEventSpecVersion = "cloudevents.event_spec_version"
// The subject of the event in the context of the event producer (identified by
// source).
//
// Type: string
// Requirement Level: Optional
// Stability: experimental
// Examples: 'mynewfile.jpg'
AttributeCloudeventsEventSubject = "cloudevents.event_subject"
// The event_type contains a value describing the type of event related to the
// originating occurrence.
//
// Type: string
// Requirement Level: Optional
// Stability: experimental
// Examples: 'com.github.pull_request.opened', 'com.example.object.deleted.v2'
AttributeCloudeventsEventType = "cloudevents.event_type"
)
// These attributes allow to report this unit of code and therefore to provide
// more context about the span.
const (
// The column number in code.filepath best representing the operation. It SHOULD
// point within the code unit named in code.function.
//
// Type: int
// Requirement Level: Optional
// Stability: experimental
// Examples: 16
AttributeCodeColumn = "code.column"
// The source code file name that identifies the code unit as uniquely as possible
// (preferably an absolute file path).
//
// Type: string
// Requirement Level: Optional
// Stability: experimental
// Examples: '/usr/local/MyApplication/content_root/app/index.php'
AttributeCodeFilepath = "code.filepath"
// The method or function name, or equivalent (usually rightmost part of the code
// unit's name).
//
// Type: string
// Requirement Level: Optional
// Stability: experimental
// Examples: 'serveRequest'
AttributeCodeFunction = "code.function"
// The line number in code.filepath best representing the operation. It SHOULD
// point within the code unit named in code.function.
//
// Type: int