-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtrace.zig
More file actions
2376 lines (2190 loc) · 86 KB
/
Copy pathtrace.zig
File metadata and controls
2376 lines (2190 loc) · 86 KB
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
// DO NOT EDIT, this is an auto-generated file
//
// If you want to update the file:
// - Edit the template at scripts/templates/registry/zig/trace.zig.j2
// - Run the script at scripts/generate-consts-from-spec.sh
//! # Semantic Trace Attributes
//!
//! The entire set of semantic trace attributes (or [conventions](https://opentelemetry.io/docs/concepts/semantic-conventions/)) defined by the project.
const std = @import("std");
const types = @import("types.zig");
/// This attribute represents the state of the application.
///
/// # Examples
///
/// - created
/// Note: This attribute is experimental and may change in the future.
pub const android_app_state = types.StringAttribute{
.name = "android.app.state",
.brief = "This attribute represents the state of the application.",
.stability = .development,
.requirement_level = .opt_in,
};
/// The x (horizontal) coordinate of a screen coordinate, in screen pixels.
///
/// # Examples
///
/// - 0
/// - 131
/// Note: This attribute is experimental and may change in the future.
pub const app_screen_coordinate_x = types.IntAttribute{
.name = "app.screen.coordinate.x",
.brief = "The x (horizontal) coordinate of a screen coordinate, in screen pixels.",
.stability = .development,
.requirement_level = .required,
};
/// The y (vertical) component of a screen coordinate, in screen pixels.
///
/// # Examples
///
/// - 12
/// - 99
/// Note: This attribute is experimental and may change in the future.
pub const app_screen_coordinate_y = types.IntAttribute{
.name = "app.screen.coordinate.y",
.brief = "The y (vertical) component of a screen coordinate, in screen pixels.",
.stability = .development,
.requirement_level = .required,
};
/// An identifier that uniquely differentiates this widget from other widgets in the same application.
///
/// # Examples
///
/// - f9bc787d-ff05-48ad-90e1-fca1d46130b3
/// - submit_order_1829
/// Note: This attribute is experimental and may change in the future.
pub const app_widget_id = types.StringAttribute{
.name = "app.widget.id",
.brief = "An identifier that uniquely differentiates this widget from other widgets in the same application.",
.stability = .development,
.requirement_level = .required,
};
/// The name of an application widget.
///
/// # Examples
///
/// - submit
/// - attack
/// - Clear Cart
/// Note: This attribute is experimental and may change in the future.
pub const app_widget_name = types.StringAttribute{
.name = "app.widget.name",
.brief = "The name of an application widget.",
.stability = .development,
.requirement_level = .opt_in,
};
/// The unique identifier of the AWS Bedrock Guardrail. A [guardrail](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails.html) helps safeguard and prevent unwanted behavior from model responses or user messages.
///
/// # Examples
///
/// - sgi5gkybzqak
/// Note: This attribute is experimental and may change in the future.
pub const aws_bedrock_guardrail_id = types.StringAttribute{
.name = "aws.bedrock.guardrail.id",
.brief = "The unique identifier of the AWS Bedrock Guardrail. A [guardrail](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails.html) helps safeguard and prevent unwanted behavior from model responses or user messages.",
.stability = .development,
.requirement_level = .required,
};
/// The unique identifier of the AWS Bedrock Knowledge base. A [knowledge base](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base.html) is a bank of information that can be queried by models to generate more relevant responses and augment prompts.
///
/// # Examples
///
/// - XFWUPB9PAW
/// Note: This attribute is experimental and may change in the future.
pub const aws_bedrock_knowledge_base_id = types.StringAttribute{
.name = "aws.bedrock.knowledge_base.id",
.brief = "The unique identifier of the AWS Bedrock Knowledge base. A [knowledge base](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base.html) is a bank of information that can be queried by models to generate more relevant responses and augment prompts.",
.stability = .development,
.requirement_level = .recommended,
};
/// The JSON-serialized value of each item in the `AttributeDefinitions` request field.
///
/// # Examples
///
/// - [\"{ \\"AttributeName\\": \\"string\\", \\"AttributeType\\": \\"string\\" }\"]
/// Note: This attribute is experimental and may change in the future.
pub const aws_dynamodb_attribute_definitions = types.StringAttribute{
.name = "aws.dynamodb.attribute_definitions",
.brief = "The JSON-serialized value of each item in the `AttributeDefinitions` request field.",
.stability = .development,
.requirement_level = .recommended,
};
/// The value of the `AttributesToGet` request parameter.
///
/// # Examples
///
/// - [\"lives\", \"id\"]
/// Note: This attribute is experimental and may change in the future.
pub const aws_dynamodb_attributes_to_get = types.StringAttribute{
.name = "aws.dynamodb.attributes_to_get",
.brief = "The value of the `AttributesToGet` request parameter.",
.stability = .development,
.requirement_level = .recommended,
};
/// The value of the `ConsistentRead` request parameter.
/// Note: This attribute is experimental and may change in the future.
pub const aws_dynamodb_consistent_read = types.BooleanAttribute{
.name = "aws.dynamodb.consistent_read",
.brief = "The value of the `ConsistentRead` request parameter.",
.stability = .development,
.requirement_level = .recommended,
};
/// The JSON-serialized value of each item in the `ConsumedCapacity` response field.
///
/// # 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 }\"]
/// Note: This attribute is experimental and may change in the future.
pub const aws_dynamodb_consumed_capacity = types.StringAttribute{
.name = "aws.dynamodb.consumed_capacity",
.brief = "The JSON-serialized value of each item in the `ConsumedCapacity` response field.",
.stability = .development,
.requirement_level = .recommended,
};
/// The value of the `Count` response parameter.
///
/// # Examples
///
/// - 10
/// Note: This attribute is experimental and may change in the future.
pub const aws_dynamodb_count = types.IntAttribute{
.name = "aws.dynamodb.count",
.brief = "The value of the `Count` response parameter.",
.stability = .development,
.requirement_level = .recommended,
};
/// The value of the `ExclusiveStartTableName` request parameter.
///
/// # Examples
///
/// - Users
/// - CatsTable
/// Note: This attribute is experimental and may change in the future.
pub const aws_dynamodb_exclusive_start_table = types.StringAttribute{
.name = "aws.dynamodb.exclusive_start_table",
.brief = "The value of the `ExclusiveStartTableName` request parameter.",
.stability = .development,
.requirement_level = .recommended,
};
/// The JSON-serialized value of each item in the `GlobalSecondaryIndexUpdates` request field.
///
/// # Examples
///
/// - [\"{ \\"Create\\": { \\"IndexName\\": \\"string\\", \\"KeySchema\\": [ { \\"AttributeName\\": \\"string\\", \\"KeyType\\": \\"string\\" } ], \\"Projection\\": { \\"NonKeyAttributes\\": [ \\"string\\" ], \\"ProjectionType\\": \\"string\\" }, \\"ProvisionedThroughput\\": { \\"ReadCapacityUnits\\": number, \\"WriteCapacityUnits\\": number } }\"]
/// Note: This attribute is experimental and may change in the future.
pub const aws_dynamodb_global_secondary_index_updates = types.StringAttribute{
.name = "aws.dynamodb.global_secondary_index_updates",
.brief = "The JSON-serialized value of each item in the `GlobalSecondaryIndexUpdates` request field.",
.stability = .development,
.requirement_level = .recommended,
};
/// The JSON-serialized value of each item of the `GlobalSecondaryIndexes` request field
///
/// # Examples
///
/// - [\"{ \\"IndexName\\": \\"string\\", \\"KeySchema\\": [ { \\"AttributeName\\": \\"string\\", \\"KeyType\\": \\"string\\" } ], \\"Projection\\": { \\"NonKeyAttributes\\": [ \\"string\\" ], \\"ProjectionType\\": \\"string\\" }, \\"ProvisionedThroughput\\": { \\"ReadCapacityUnits\\": number, \\"WriteCapacityUnits\\": number } }\"]
/// Note: This attribute is experimental and may change in the future.
pub const aws_dynamodb_global_secondary_indexes = types.StringAttribute{
.name = "aws.dynamodb.global_secondary_indexes",
.brief = "The JSON-serialized value of each item of the `GlobalSecondaryIndexes` request field",
.stability = .development,
.requirement_level = .recommended,
};
/// The value of the `IndexName` request parameter.
///
/// # Examples
///
/// - name_to_group
/// Note: This attribute is experimental and may change in the future.
pub const aws_dynamodb_index_name = types.StringAttribute{
.name = "aws.dynamodb.index_name",
.brief = "The value of the `IndexName` request parameter.",
.stability = .development,
.requirement_level = .recommended,
};
/// The JSON-serialized value of the `ItemCollectionMetrics` response field.
///
/// # 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 ] } ] }
/// Note: This attribute is experimental and may change in the future.
pub const aws_dynamodb_item_collection_metrics = types.StringAttribute{
.name = "aws.dynamodb.item_collection_metrics",
.brief = "The JSON-serialized value of the `ItemCollectionMetrics` response field.",
.stability = .development,
.requirement_level = .recommended,
};
/// The value of the `Limit` request parameter.
///
/// # Examples
///
/// - 10
/// Note: This attribute is experimental and may change in the future.
pub const aws_dynamodb_limit = types.IntAttribute{
.name = "aws.dynamodb.limit",
.brief = "The value of the `Limit` request parameter.",
.stability = .development,
.requirement_level = .recommended,
};
/// The JSON-serialized value of each item of the `LocalSecondaryIndexes` request field.
///
/// # Examples
///
/// - [\"{ \\"IndexArn\\": \\"string\\", \\"IndexName\\": \\"string\\", \\"IndexSizeBytes\\": number, \\"ItemCount\\": number, \\"KeySchema\\": [ { \\"AttributeName\\": \\"string\\", \\"KeyType\\": \\"string\\" } ], \\"Projection\\": { \\"NonKeyAttributes\\": [ \\"string\\" ], \\"ProjectionType\\": \\"string\\" } }\"]
/// Note: This attribute is experimental and may change in the future.
pub const aws_dynamodb_local_secondary_indexes = types.StringAttribute{
.name = "aws.dynamodb.local_secondary_indexes",
.brief = "The JSON-serialized value of each item of the `LocalSecondaryIndexes` request field.",
.stability = .development,
.requirement_level = .recommended,
};
/// The value of the `ProjectionExpression` request parameter.
///
/// # Examples
///
/// - Title
/// - Title, Price, Color
/// - Title, Description, RelatedItems, ProductReviews
/// Note: This attribute is experimental and may change in the future.
pub const aws_dynamodb_projection = types.StringAttribute{
.name = "aws.dynamodb.projection",
.brief = "The value of the `ProjectionExpression` request parameter.",
.stability = .development,
.requirement_level = .recommended,
};
/// The value of the `ProvisionedThroughput.ReadCapacityUnits` request parameter.
///
/// # Examples
///
/// - 1.0
/// - 2.0
/// Note: This attribute is experimental and may change in the future.
pub const aws_dynamodb_provisioned_read_capacity = types.DoubleAttribute{
.name = "aws.dynamodb.provisioned_read_capacity",
.brief = "The value of the `ProvisionedThroughput.ReadCapacityUnits` request parameter.",
.stability = .development,
.requirement_level = .recommended,
};
/// The value of the `ProvisionedThroughput.WriteCapacityUnits` request parameter.
///
/// # Examples
///
/// - 1.0
/// - 2.0
/// Note: This attribute is experimental and may change in the future.
pub const aws_dynamodb_provisioned_write_capacity = types.DoubleAttribute{
.name = "aws.dynamodb.provisioned_write_capacity",
.brief = "The value of the `ProvisionedThroughput.WriteCapacityUnits` request parameter.",
.stability = .development,
.requirement_level = .recommended,
};
/// The value of the `ScanIndexForward` request parameter.
/// Note: This attribute is experimental and may change in the future.
pub const aws_dynamodb_scan_forward = types.BooleanAttribute{
.name = "aws.dynamodb.scan_forward",
.brief = "The value of the `ScanIndexForward` request parameter.",
.stability = .development,
.requirement_level = .recommended,
};
/// The value of the `ScannedCount` response parameter.
///
/// # Examples
///
/// - 50
/// Note: This attribute is experimental and may change in the future.
pub const aws_dynamodb_scanned_count = types.IntAttribute{
.name = "aws.dynamodb.scanned_count",
.brief = "The value of the `ScannedCount` response parameter.",
.stability = .development,
.requirement_level = .recommended,
};
/// The value of the `Segment` request parameter.
///
/// # Examples
///
/// - 10
/// Note: This attribute is experimental and may change in the future.
pub const aws_dynamodb_segment = types.IntAttribute{
.name = "aws.dynamodb.segment",
.brief = "The value of the `Segment` request parameter.",
.stability = .development,
.requirement_level = .recommended,
};
/// The value of the `Select` request parameter.
///
/// # Examples
///
/// - ALL_ATTRIBUTES
/// - COUNT
/// Note: This attribute is experimental and may change in the future.
pub const aws_dynamodb_select = types.StringAttribute{
.name = "aws.dynamodb.select",
.brief = "The value of the `Select` request parameter.",
.stability = .development,
.requirement_level = .recommended,
};
/// The number of items in the `TableNames` response parameter.
///
/// # Examples
///
/// - 20
/// Note: This attribute is experimental and may change in the future.
pub const aws_dynamodb_table_count = types.IntAttribute{
.name = "aws.dynamodb.table_count",
.brief = "The number of items in the `TableNames` response parameter.",
.stability = .development,
.requirement_level = .recommended,
};
/// The keys in the `RequestItems` object field.
///
/// # Examples
///
/// - [\"Users\", \"Cats\"]
/// Note: This attribute is experimental and may change in the future.
pub const aws_dynamodb_table_names = types.StringAttribute{
.name = "aws.dynamodb.table_names",
.brief = "The keys in the `RequestItems` object field.",
.stability = .development,
.requirement_level = .recommended,
};
/// The value of the `TotalSegments` request parameter.
///
/// # Examples
///
/// - 100
/// Note: This attribute is experimental and may change in the future.
pub const aws_dynamodb_total_segments = types.IntAttribute{
.name = "aws.dynamodb.total_segments",
.brief = "The value of the `TotalSegments` request parameter.",
.stability = .development,
.requirement_level = .recommended,
};
/// The AWS extended request ID as returned in the response header `x-amz-id-2`.
///
/// # Examples
///
/// - wzHcyEWfmOGDIE5QOhTAqFDoDWP3y8IUvpNINCwL9N4TEHbUw0/gZJ+VZTmCNCWR7fezEN3eCiQ=
/// Note: This attribute is experimental and may change in the future.
pub const aws_extended_request_id = types.StringAttribute{
.name = "aws.extended_request_id",
.brief = "The AWS extended request ID as returned in the response header `x-amz-id-2`.",
.stability = .development,
.requirement_level = .opt_in,
};
/// The full invoked ARN as provided on the `Context` passed to the function (`Lambda-Runtime-Invoked-Function-Arn` header on the `/runtime/invocation/next` applicable).
///
/// # Examples
///
/// - arn:aws:lambda:us-east-1:123456:function:myfunction:myalias
/// Note: This attribute is experimental and may change in the future.
pub const aws_lambda_invoked_arn = types.StringAttribute{
.name = "aws.lambda.invoked_arn",
.brief = "The full invoked ARN as provided on the `Context` passed to the function (`Lambda-Runtime-Invoked-Function-Arn` header on the `/runtime/invocation/next` applicable).",
.stability = .development,
.requirement_level = .recommended,
};
/// The UUID of the [AWS Lambda EvenSource Mapping](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html). An event source is mapped to a lambda function. It's contents are read by Lambda and used to trigger a function. This isn't available in the lambda execution context or the lambda runtime environtment. This is going to be populated by the AWS SDK for each language when that UUID is present. Some of these operations are Create/Delete/Get/List/Update EventSourceMapping.
///
/// # Examples
///
/// - 587ad24b-03b9-4413-8202-bbd56b36e5b7
/// Note: This attribute is experimental and may change in the future.
pub const aws_lambda_resource_mapping_id = types.StringAttribute{
.name = "aws.lambda.resource_mapping.id",
.brief = "The UUID of the [AWS Lambda EvenSource Mapping](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html). An event source is mapped to a lambda function. It's contents are read by Lambda and used to trigger a function. This isn't available in the lambda execution context or the lambda runtime environtment. This is going to be populated by the AWS SDK for each language when that UUID is present. Some of these operations are Create/Delete/Get/List/Update EventSourceMapping.",
.stability = .development,
.requirement_level = .recommended,
};
/// The AWS request ID as returned in the response headers `x-amzn-requestid`, `x-amzn-request-id` or `x-amz-request-id`.
///
/// # Examples
///
/// - 79b9da39-b7ae-508a-a6bc-864b2829c622
/// - C9ER4AJX75574TDJ
/// Note: This attribute is experimental and may change in the future.
pub const aws_request_id = types.StringAttribute{
.name = "aws.request_id",
.brief = "The AWS request ID as returned in the response headers `x-amzn-requestid`, `x-amzn-request-id` or `x-amz-request-id`.",
.stability = .development,
.requirement_level = .recommended,
};
/// The S3 bucket name the request refers to. Corresponds to the `--bucket` parameter of the [S3 API](https://docs.aws.amazon.com/cli/latest/reference/s3api/index.html) operations.
///
/// # Examples
///
/// - some-bucket-name
/// Note: This attribute is experimental and may change in the future.
pub const aws_s3_bucket = types.StringAttribute{
.name = "aws.s3.bucket",
.brief = "The S3 bucket name the request refers to. Corresponds to the `--bucket` parameter of the [S3 API](https://docs.aws.amazon.com/cli/latest/reference/s3api/index.html) operations.",
.stability = .development,
.requirement_level = .recommended,
};
/// The source object (in the form `bucket`/`key`) for the copy operation.
///
/// # Examples
///
/// - someFile.yml
/// Note: This attribute is experimental and may change in the future.
pub const aws_s3_copy_source = types.StringAttribute{
.name = "aws.s3.copy_source",
.brief = "The source object (in the form `bucket`/`key`) for the copy operation.",
.stability = .development,
.requirement_level = .recommended,
};
/// The delete request container that specifies the objects to be deleted.
///
/// # Examples
///
/// - Objects=[{Key=string,VersionId=string},{Key=string,VersionId=string}],Quiet=boolean
/// Note: This attribute is experimental and may change in the future.
pub const aws_s3_delete = types.StringAttribute{
.name = "aws.s3.delete",
.brief = "The delete request container that specifies the objects to be deleted.",
.stability = .development,
.requirement_level = .recommended,
};
/// The S3 object key the request refers to. Corresponds to the `--key` parameter of the [S3 API](https://docs.aws.amazon.com/cli/latest/reference/s3api/index.html) operations.
///
/// # Examples
///
/// - someFile.yml
/// Note: This attribute is experimental and may change in the future.
pub const aws_s3_key = types.StringAttribute{
.name = "aws.s3.key",
.brief = "The S3 object key the request refers to. Corresponds to the `--key` parameter of the [S3 API](https://docs.aws.amazon.com/cli/latest/reference/s3api/index.html) operations.",
.stability = .development,
.requirement_level = .recommended,
};
/// The part number of the part being uploaded in a multipart-upload operation. This is a positive integer between 1 and 10,000.
///
/// # Examples
///
/// - 3456
/// Note: This attribute is experimental and may change in the future.
pub const aws_s3_part_number = types.IntAttribute{
.name = "aws.s3.part_number",
.brief = "The part number of the part being uploaded in a multipart-upload operation. This is a positive integer between 1 and 10,000.",
.stability = .development,
.requirement_level = .recommended,
};
/// Upload ID that identifies the multipart upload.
///
/// # Examples
///
/// - dfRtDYWFbkRONycy.Yxwh66Yjlx.cph0gtNBtJ
/// Note: This attribute is experimental and may change in the future.
pub const aws_s3_upload_id = types.StringAttribute{
.name = "aws.s3.upload_id",
.brief = "Upload ID that identifies the multipart upload.",
.stability = .development,
.requirement_level = .recommended,
};
/// Deprecated, use `azure.service.request.id` instead.
///
/// # Examples
///
/// - 00000000-0000-0000-0000-000000000000
/// Note: This attribute is experimental and may change in the future.
/// Note: This attribute is deprecated. {"note": "Replaced by `azure.service.request.id`.", "reason": "renamed", "renamed_to": "azure.service.request.id"}
pub const az_service_request_id = types.StringAttribute{
.name = "az.service_request_id",
.brief = "Deprecated, use `azure.service.request.id` instead.",
.stability = .development,
.requirement_level = .recommended,
};
/// The unique identifier of the client instance.
///
/// # Examples
///
/// - 3ba4827d-4422-483f-b59f-85b74211c11d
/// - storage-client-1
/// Note: This attribute is experimental and may change in the future.
pub const azure_client_id = types.StringAttribute{
.name = "azure.client.id",
.brief = "The unique identifier of the client instance.",
.stability = .development,
.requirement_level = .recommended,
};
/// Cosmos client connection mode.
/// Note: This attribute is experimental and may change in the future.
pub const azure_cosmosdb_connection_mode = types.StringAttribute{
.name = "azure.cosmosdb.connection.mode",
.brief = "Cosmos client connection mode.",
.stability = .development,
.requirement_level = .opt_in,
};
/// Account or request [consistency level](https://learn.microsoft.com/azure/cosmos-db/consistency-levels).
///
/// # Examples
///
/// - Eventual
/// - ConsistentPrefix
/// - BoundedStaleness
/// - Strong
/// - Session
/// Note: This attribute is experimental and may change in the future.
pub const azure_cosmosdb_consistency_level = types.StringAttribute{
.name = "azure.cosmosdb.consistency.level",
.brief = "Account or request [consistency level](https://learn.microsoft.com/azure/cosmos-db/consistency-levels).",
.stability = .development,
.requirement_level = .opt_in,
};
/// List of regions contacted during operation in the order that they were contacted. If there is more than one region listed, it indicates that the operation was performed on multiple regions i.e. cross-regional call.
///
/// # Examples
///
/// - [\"North Central US\", \"Australia East\", \"Australia Southeast\"]
/// Note: This attribute is experimental and may change in the future.
pub const azure_cosmosdb_operation_contacted_regions = types.StringAttribute{
.name = "azure.cosmosdb.operation.contacted_regions",
.brief = "List of regions contacted during operation in the order that they were contacted. If there is more than one region listed, it indicates that the operation was performed on multiple regions i.e. cross-regional call.",
.stability = .development,
.requirement_level = .opt_in,
};
/// The number of request units consumed by the operation.
///
/// # Examples
///
/// - 46.18
/// - 1.0
/// Note: This attribute is experimental and may change in the future.
pub const azure_cosmosdb_operation_request_charge = types.DoubleAttribute{
.name = "azure.cosmosdb.operation.request_charge",
.brief = "The number of request units consumed by the operation.",
.stability = .development,
.requirement_level = .opt_in,
};
/// Request payload size in bytes.
/// Note: This attribute is experimental and may change in the future.
pub const azure_cosmosdb_request_body_size = types.IntAttribute{
.name = "azure.cosmosdb.request.body.size",
.brief = "Request payload size in bytes.",
.stability = .development,
.requirement_level = .recommended,
};
/// Cosmos DB sub status code.
///
/// # Examples
///
/// - 1000
/// - 1002
/// Note: This attribute is experimental and may change in the future.
pub const azure_cosmosdb_response_sub_status_code = types.IntAttribute{
.name = "azure.cosmosdb.response.sub_status_code",
.brief = "Cosmos DB sub status code.",
.stability = .development,
.requirement_level = .opt_in,
};
/// [Azure Resource Provider Namespace](https://learn.microsoft.com/azure/azure-resource-manager/management/azure-services-resource-providers) as recognized by the client.
///
/// # Examples
///
/// - Microsoft.DocumentDB
/// Note: This attribute is experimental and may change in the future.
pub const azure_resource_provider_namespace = types.StringAttribute{
.name = "azure.resource_provider.namespace",
.brief = "[Azure Resource Provider Namespace](https://learn.microsoft.com/azure/azure-resource-manager/management/azure-services-resource-providers) as recognized by the client.",
.stability = .development,
.requirement_level = .recommended,
};
/// The unique identifier of the service request. It's generated by the Azure service and returned with the response.
///
/// # Examples
///
/// - 00000000-0000-0000-0000-000000000000
/// Note: This attribute is experimental and may change in the future.
pub const azure_service_request_id = types.StringAttribute{
.name = "azure.service.request.id",
.brief = "The unique identifier of the service request. It's generated by the Azure service and returned with the response.",
.stability = .development,
.requirement_level = .recommended,
};
/// The consistency level of the query. Based on consistency values from [CQL](https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html).
/// Note: This attribute is experimental and may change in the future.
pub const cassandra_consistency_level = types.StringAttribute{
.name = "cassandra.consistency.level",
.brief = "The consistency level of the query. Based on consistency values from [CQL](https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html).",
.stability = .development,
.requirement_level = .recommended,
};
/// The data center of the coordinating node for a query.
///
/// # Examples
///
/// - us-west-2
/// Note: This attribute is experimental and may change in the future.
pub const cassandra_coordinator_dc = types.StringAttribute{
.name = "cassandra.coordinator.dc",
.brief = "The data center of the coordinating node for a query.",
.stability = .development,
.requirement_level = .recommended,
};
/// The ID of the coordinating node for a query.
///
/// # Examples
///
/// - be13faa2-8574-4d71-926d-27f16cf8a7af
/// Note: This attribute is experimental and may change in the future.
pub const cassandra_coordinator_id = types.StringAttribute{
.name = "cassandra.coordinator.id",
.brief = "The ID of the coordinating node for a query.",
.stability = .development,
.requirement_level = .recommended,
};
/// The fetch size used for paging, i.e. how many rows will be returned at once.
///
/// # Examples
///
/// - 5000
/// Note: This attribute is experimental and may change in the future.
pub const cassandra_page_size = types.IntAttribute{
.name = "cassandra.page.size",
.brief = "The fetch size used for paging, i.e. how many rows will be returned at once.",
.stability = .development,
.requirement_level = .recommended,
};
/// Whether or not the query is idempotent.
/// Note: This attribute is experimental and may change in the future.
pub const cassandra_query_idempotent = types.BooleanAttribute{
.name = "cassandra.query.idempotent",
.brief = "Whether or not the query is idempotent.",
.stability = .development,
.requirement_level = .recommended,
};
/// The number of times a query was speculatively executed. Not set or `0` if the query was not executed speculatively.
///
/// # Examples
///
/// - 0
/// - 2
/// Note: This attribute is experimental and may change in the future.
pub const cassandra_speculative_execution_count = types.IntAttribute{
.name = "cassandra.speculative_execution.count",
.brief = "The number of times a query was speculatively executed. Not set or `0` if the query was not executed speculatively.",
.stability = .development,
.requirement_level = .recommended,
};
/// The kind of action a pipeline run is performing.
///
/// # Examples
///
/// - BUILD
/// - RUN
/// - SYNC
/// Note: This attribute is experimental and may change in the future.
pub const cicd_pipeline_action_name = types.StringAttribute{
.name = "cicd.pipeline.action.name",
.brief = "The kind of action a pipeline run is performing.",
.stability = .development,
.requirement_level = .opt_in,
};
/// The result of a pipeline run.
///
/// # Examples
///
/// - success
/// - failure
/// - timeout
/// - skipped
/// Note: This attribute is experimental and may change in the future.
pub const cicd_pipeline_result = types.StringAttribute{
.name = "cicd.pipeline.result",
.brief = "The result of a pipeline run.",
.stability = .development,
.requirement_level = .required,
};
/// The human readable name of a task within a pipeline. Task here most closely aligns with a [computing process](https://wikipedia.org/wiki/Pipeline_(computing)) in a pipeline. Other terms for tasks include commands, steps, and procedures.
///
/// # Examples
///
/// - Run GoLang Linter
/// - Go Build
/// - go-test
/// - deploy_binary
/// Note: This attribute is experimental and may change in the future.
pub const cicd_pipeline_task_name = types.StringAttribute{
.name = "cicd.pipeline.task.name",
.brief = "The human readable name of a task within a pipeline. Task here most closely aligns with a [computing process](https://wikipedia.org/wiki/Pipeline_(computing)) in a pipeline. Other terms for tasks include commands, steps, and procedures.",
.stability = .development,
.requirement_level = .required,
};
/// The unique identifier of a task run within a pipeline.
///
/// # Examples
///
/// - 12097
/// Note: This attribute is experimental and may change in the future.
pub const cicd_pipeline_task_run_id = types.StringAttribute{
.name = "cicd.pipeline.task.run.id",
.brief = "The unique identifier of a task run within a pipeline.",
.stability = .development,
.requirement_level = .required,
};
/// The result of a task run.
///
/// # Examples
///
/// - success
/// - failure
/// - timeout
/// - skipped
/// Note: This attribute is experimental and may change in the future.
pub const cicd_pipeline_task_run_result = types.StringAttribute{
.name = "cicd.pipeline.task.run.result",
.brief = "The result of a task run.",
.stability = .development,
.requirement_level = .required,
};
/// The [URL](https://wikipedia.org/wiki/URL) of the pipeline task run, providing the complete address in order to locate and identify the pipeline task run.
///
/// # Examples
///
/// - https://github.com/open-telemetry/semantic-conventions/actions/runs/9753949763/job/26920038674?pr=1075
/// Note: This attribute is experimental and may change in the future.
pub const cicd_pipeline_task_run_url_full = types.StringAttribute{
.name = "cicd.pipeline.task.run.url.full",
.brief = "The [URL](https://wikipedia.org/wiki/URL) of the pipeline task run, providing the complete address in order to locate and identify the pipeline task run.",
.stability = .development,
.requirement_level = .required,
};
/// Client address - domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name.
///
/// # Examples
///
/// - 83.164.160.102
pub const client_address = types.StringAttribute{
.name = "client.address",
.brief = "Client address - domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name.",
.stability = .stable,
.requirement_level = .recommended,
};
/// The port of whichever client was captured in `client.address`.
///
/// # Examples
///
/// - 65123
pub const client_port = types.IntAttribute{
.name = "client.port",
.brief = "The port of whichever client was captured in `client.address`.",
.stability = .stable,
.requirement_level = .opt_in,
};
/// The AWS Region where the requested service is being accessed.
///
/// # Examples
///
/// - us-east-1
/// - us-west-2
/// Note: This attribute is experimental and may change in the future.
pub const cloud_region = types.StringAttribute{
.name = "cloud.region",
.brief = "The AWS Region where the requested service is being accessed.",
.stability = .development,
.requirement_level = .recommended,
};
/// The [Fully Qualified Azure Resource ID](https://learn.microsoft.com/rest/api/resources/resources/get-by-id) the log is emitted for.
///
/// # Examples
///
/// - arn:aws:lambda:REGION:ACCOUNT_ID:function:my-function
/// - //run.googleapis.com/projects/PROJECT_ID/locations/LOCATION_ID/services/SERVICE_ID
/// - /subscriptions/<SUBSCRIPTION_GUID>/resourceGroups/<RG>/providers/Microsoft.Web/sites/<FUNCAPP>/functions/<FUNC>
/// Note: This attribute is experimental and may change in the future.
pub const cloud_resource_id = types.StringAttribute{
.name = "cloud.resource_id",
.brief = "The [Fully Qualified Azure Resource ID](https://learn.microsoft.com/rest/api/resources/resources/get-by-id) the log is emitted for.",
.stability = .development,
.requirement_level = .recommended,
};
/// Cosmos DB container name.
///
/// # Examples
///
/// - public.users
/// - customers
pub const db_collection_name = types.StringAttribute{
.name = "db.collection.name",
.brief = "Cosmos DB container name.",
.stability = .stable,
.requirement_level = .opt_in,
};
/// The name of the database, fully qualified within the server address and port.
///
/// # Examples
///
/// - customers
/// - test.users
pub const db_namespace = types.StringAttribute{
.name = "db.namespace",
.brief = "The name of the database, fully qualified within the server address and port.",
.stability = .stable,
.requirement_level = .opt_in,
};
/// The number of queries included in a batch operation.
///
/// # Examples
///
/// - 2
/// - 3
/// - 4
pub const db_operation_batch_size = types.IntAttribute{
.name = "db.operation.batch.size",
.brief = "The number of queries included in a batch operation.",
.stability = .stable,
.requirement_level = .recommended,
};
/// The name of the operation or command being executed.
///
/// # Examples
///
/// - create_item
/// - query_items
/// - read_item
pub const db_operation_name = types.StringAttribute{
.name = "db.operation.name",
.brief = "The name of the operation or command being executed.",
.stability = .stable,
.requirement_level = .required,
};
/// A dynamic value in the url path.
///
/// # Examples
///
/// - db.operation.parameter.index=\"test-index\"
/// - db.operation.parameter=\"123\"
/// Note: This attribute is experimental and may change in the future.
pub const db_operation_parameter = types.StringAttribute{
.name = "db.operation.parameter",
.brief = "A dynamic value in the url path.",
.stability = .development,
.requirement_level = .opt_in,
};
/// A database query parameter, with `<key>` being the parameter name, and the attribute value being a string representation of the parameter value.
///
/// # Examples
///
/// - someval
/// - 55
/// Note: This attribute is experimental and may change in the future.
pub const db_query_parameter = types.StringAttribute{
.name = "db.query.parameter",
.brief = "A database query parameter, with `<key>` being the parameter name, and the attribute value being a string representation of the parameter value.",
.stability = .development,
.requirement_level = .opt_in,
};
/// Low cardinality summary of a database query.
///
/// # Examples
///
/// - SELECT wuser_table
/// - INSERT shipping_details SELECT orders
/// - get user by id
pub const db_query_summary = types.StringAttribute{
.name = "db.query.summary",
.brief = "Low cardinality summary of a database query.",
.stability = .stable,
.requirement_level = .opt_in,
};
/// The database query being executed.
///
/// # Examples
///
/// - SELECT * FROM wuser_table where username = ?
/// - SET mykey ?
pub const db_query_text = types.StringAttribute{
.name = "db.query.text",
.brief = "The database query being executed.",
.stability = .stable,
.requirement_level = .recommended,
};
/// Cosmos DB row count in result set.
///
/// # Examples
///
/// - 10
/// - 20
/// Note: This attribute is experimental and may change in the future.
pub const db_response_returned_rows = types.IntAttribute{
.name = "db.response.returned_rows",
.brief = "Cosmos DB row count in result set.",
.stability = .development,
.requirement_level = .opt_in,
};
/// Cosmos DB status code.
///
/// # Examples
///
/// - 200
/// - 201
pub const db_response_status_code = types.StringAttribute{
.name = "db.response.status_code",
.brief = "Cosmos DB status code.",
.stability = .stable,