-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathattribute.zig
More file actions
8249 lines (8122 loc) · 400 KB
/
Copy pathattribute.zig
File metadata and controls
8249 lines (8122 loc) · 400 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
//! Generated from OpenTelemetry semantic conventions specification v1.36.0
//! This file contains semantic convention attribute definitions.
const std = @import("std");
const types = @import("types.zig");
pub const android_app_stateValue = enum {
created,
background,
foreground,
pub fn toString(self: @This()) []const u8 {
return switch (self) {
.created => "created",
.background => "background",
.foreground => "foreground",
};
}
};
/// This attribute represents the state of the application.
pub const android_app_state = types.EnumAttribute(android_app_stateValue){
.base = types.StringAttribute{
.name = "android.app.state",
.brief = "This attribute represents the state of the application.",
.note = "The Android lifecycle states are defined in [Activity lifecycle callbacks](https://developer.android.com/guide/components/activities/activity-lifecycle#lc), and from which the `OS identifiers` are derived.",
.stability = .development,
.requirement_level = .recommended,
},
.well_known_values = android_app_stateValue.created,
};
/// Uniquely identifies the framework API revision offered by a version (`os.version`) of the android operating system. More information can be found [here](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels).
pub const android_os_api_level = types.StringAttribute{
.name = "android.os.api_level",
.brief = "Uniquely identifies the framework API revision offered by a version (`os.version`) of the android operating system. More information can be found [here](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels).",
.stability = .development,
.requirement_level = .recommended,
};
pub const android_stateValue = enum {
created,
background,
foreground,
pub fn toString(self: @This()) []const u8 {
return switch (self) {
.created => "created",
.background => "background",
.foreground => "foreground",
};
}
};
/// Deprecated. Use `android.app.state` body field instead.
pub const android_state = types.EnumAttribute(android_stateValue){
.base = types.StringAttribute{
.name = "android.state",
.brief = "Deprecated. Use `android.app.state` body field instead.",
.stability = .development,
.requirement_level = .recommended,
},
.well_known_values = android_stateValue.created,
};
/// A unique identifier representing the installation of an application on a specific device
pub const app_installation_id = types.StringAttribute{
.name = "app.installation.id",
.brief = "A unique identifier representing the installation of an application on a specific device",
.note = "Its value SHOULD persist across launches of the same application installation, including through application upgrades. It SHOULD change if the application is uninstalled or if all applications of the vendor are uninstalled. Additionally, users might be able to reset this value (e.g. by clearing application data). If an app is installed multiple times on the same device (e.g. in different accounts on Android), each `app.installation.id` SHOULD have a different value. If multiple OpenTelemetry SDKs are used within the same application, they SHOULD use the same value for `app.installation.id`. Hardware IDs (e.g. serial number, IMEI, MAC address) MUST NOT be used as the `app.installation.id`. For iOS, this value SHOULD be equal to the [vendor identifier](https://developer.apple.com/documentation/uikit/uidevice/identifierforvendor). For Android, examples of `app.installation.id` implementations include: - [Firebase Installation ID](https://firebase.google.com/docs/projects/manage-installations). - A globally unique UUID which is persisted across sessions in your application. - [App set ID](https://developer.android.com/identity/app-set-id). - [`Settings.getString(Settings.Secure.ANDROID_ID)`](https://developer.android.com/reference/android/provider/Settings.Secure#ANDROID_ID). More information about Android identifier best practices can be found [here](https://developer.android.com/training/articles/user-data-ids).",
.stability = .development,
.requirement_level = .recommended,
};
/// The x (horizontal) coordinate of a screen coordinate, in screen pixels.
pub const app_screen_coordinate_x = types.StringAttribute{
.name = "app.screen.coordinate.x",
.brief = "The x (horizontal) coordinate of a screen coordinate, in screen pixels.",
.stability = .development,
.requirement_level = .recommended,
};
/// The y (vertical) component of a screen coordinate, in screen pixels.
pub const app_screen_coordinate_y = types.StringAttribute{
.name = "app.screen.coordinate.y",
.brief = "The y (vertical) component of a screen coordinate, in screen pixels.",
.stability = .development,
.requirement_level = .recommended,
};
/// An identifier that uniquely differentiates this widget from other widgets in the same application.
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.",
.note = "A widget is an application component, typically an on-screen visual GUI element.",
.stability = .development,
.requirement_level = .recommended,
};
/// The name of an application widget.
pub const app_widget_name = types.StringAttribute{
.name = "app.widget.name",
.brief = "The name of an application widget.",
.note = "A widget is an application component, typically an on-screen visual GUI element.",
.stability = .development,
.requirement_level = .recommended,
};
/// The provenance filename of the built attestation which directly relates to the build artifact filename. This filename SHOULD accompany the artifact at publish time. See the [SLSA Relationship](https://slsa.dev/spec/v1.0/distributing-provenance#relationship-between-artifacts-and-attestations) specification for more information.
pub const artifact_attestation_filename = types.StringAttribute{
.name = "artifact.attestation.filename",
.brief = "The provenance filename of the built attestation which directly relates to the build artifact filename. This filename SHOULD accompany the artifact at publish time. See the [SLSA Relationship](https://slsa.dev/spec/v1.0/distributing-provenance#relationship-between-artifacts-and-attestations) specification for more information.",
.stability = .development,
.requirement_level = .recommended,
};
/// The full [hash value (see glossary)](https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.186-5.pdf), of the built attestation. Some envelopes in the [software attestation space](https://github.com/in-toto/attestation/tree/main/spec) also refer to this as the **digest**.
pub const artifact_attestation_hash = types.StringAttribute{
.name = "artifact.attestation.hash",
.brief = "The full [hash value (see glossary)](https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.186-5.pdf), of the built attestation. Some envelopes in the [software attestation space](https://github.com/in-toto/attestation/tree/main/spec) also refer to this as the **digest**.",
.stability = .development,
.requirement_level = .recommended,
};
/// The id of the build [software attestation](https://slsa.dev/attestation-model).
pub const artifact_attestation_id = types.StringAttribute{
.name = "artifact.attestation.id",
.brief = "The id of the build [software attestation](https://slsa.dev/attestation-model).",
.stability = .development,
.requirement_level = .recommended,
};
/// The human readable file name of the artifact, typically generated during build and release processes. Often includes the package name and version in the file name.
pub const artifact_filename = types.StringAttribute{
.name = "artifact.filename",
.brief = "The human readable file name of the artifact, typically generated during build and release processes. Often includes the package name and version in the file name.",
.note = "This file name can also act as the [Package Name](https://slsa.dev/spec/v1.0/terminology#package-model) in cases where the package ecosystem maps accordingly. Additionally, the artifact [can be published](https://slsa.dev/spec/v1.0/terminology#software-supply-chain) for others, but that is not a guarantee.",
.stability = .development,
.requirement_level = .recommended,
};
/// The full [hash value (see glossary)](https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.186-5.pdf), often found in checksum.txt on a release of the artifact and used to verify package integrity.
pub const artifact_hash = types.StringAttribute{
.name = "artifact.hash",
.brief = "The full [hash value (see glossary)](https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.186-5.pdf), often found in checksum.txt on a release of the artifact and used to verify package integrity.",
.note = "The specific algorithm used to create the cryptographic hash value is not defined. In situations where an artifact has multiple cryptographic hashes, it is up to the implementer to choose which hash value to set here; this should be the most secure hash algorithm that is suitable for the situation and consistent with the corresponding attestation. The implementer can then provide the other hash values through an additional set of attribute extensions as they deem necessary.",
.stability = .development,
.requirement_level = .recommended,
};
/// The [Package URL](https://github.com/package-url/purl-spec) of the [package artifact](https://slsa.dev/spec/v1.0/terminology#package-model) provides a standard way to identify and locate the packaged artifact.
pub const artifact_purl = types.StringAttribute{
.name = "artifact.purl",
.brief = "The [Package URL](https://github.com/package-url/purl-spec) of the [package artifact](https://slsa.dev/spec/v1.0/terminology#package-model) provides a standard way to identify and locate the packaged artifact.",
.stability = .development,
.requirement_level = .recommended,
};
/// The version of the artifact.
pub const artifact_version = types.StringAttribute{
.name = "artifact.version",
.brief = "The version of the artifact.",
.stability = .development,
.requirement_level = .recommended,
};
pub const aspnetcore_diagnostics_exception_resultValue = enum {
handled,
unhandled,
skipped,
aborted,
pub fn toString(self: @This()) []const u8 {
return switch (self) {
.handled => "handled",
.unhandled => "unhandled",
.skipped => "skipped",
.aborted => "aborted",
};
}
};
/// ASP.NET Core exception middleware handling result
pub const aspnetcore_diagnostics_exception_result = types.EnumAttribute(aspnetcore_diagnostics_exception_resultValue){
.base = types.StringAttribute{
.name = "aspnetcore.diagnostics.exception.result",
.brief = "ASP.NET Core exception middleware handling result",
.stability = .stable,
.requirement_level = .recommended,
},
.well_known_values = aspnetcore_diagnostics_exception_resultValue.handled,
};
/// Full type name of the [`IExceptionHandler`](https://learn.microsoft.com/dotnet/api/microsoft.aspnetcore.diagnostics.iexceptionhandler) implementation that handled the exception.
pub const aspnetcore_diagnostics_handler_type = types.StringAttribute{
.name = "aspnetcore.diagnostics.handler.type",
.brief = "Full type name of the [`IExceptionHandler`](https://learn.microsoft.com/dotnet/api/microsoft.aspnetcore.diagnostics.iexceptionhandler) implementation that handled the exception.",
.stability = .stable,
.requirement_level = .recommended,
};
/// Rate limiting policy name.
pub const aspnetcore_rate_limiting_policy = types.StringAttribute{
.name = "aspnetcore.rate_limiting.policy",
.brief = "Rate limiting policy name.",
.stability = .stable,
.requirement_level = .recommended,
};
pub const aspnetcore_rate_limiting_resultValue = enum {
acquired,
endpoint_limiter,
global_limiter,
request_canceled,
pub fn toString(self: @This()) []const u8 {
return switch (self) {
.acquired => "acquired",
.endpoint_limiter => "endpoint_limiter",
.global_limiter => "global_limiter",
.request_canceled => "request_canceled",
};
}
};
/// Rate-limiting result, shows whether the lease was acquired or contains a rejection reason
pub const aspnetcore_rate_limiting_result = types.EnumAttribute(aspnetcore_rate_limiting_resultValue){
.base = types.StringAttribute{
.name = "aspnetcore.rate_limiting.result",
.brief = "Rate-limiting result, shows whether the lease was acquired or contains a rejection reason",
.stability = .stable,
.requirement_level = .recommended,
},
.well_known_values = aspnetcore_rate_limiting_resultValue.acquired,
};
/// Flag indicating if request was handled by the application pipeline.
pub const aspnetcore_request_is_unhandled = types.StringAttribute{
.name = "aspnetcore.request.is_unhandled",
.brief = "Flag indicating if request was handled by the application pipeline.",
.stability = .stable,
.requirement_level = .recommended,
};
/// A value that indicates whether the matched route is a fallback route.
pub const aspnetcore_routing_is_fallback = types.StringAttribute{
.name = "aspnetcore.routing.is_fallback",
.brief = "A value that indicates whether the matched route is a fallback route.",
.stability = .stable,
.requirement_level = .recommended,
};
pub const aspnetcore_routing_match_statusValue = enum {
success,
failure,
pub fn toString(self: @This()) []const u8 {
return switch (self) {
.success => "success",
.failure => "failure",
};
}
};
/// Match result - success or failure
pub const aspnetcore_routing_match_status = types.EnumAttribute(aspnetcore_routing_match_statusValue){
.base = types.StringAttribute{
.name = "aspnetcore.routing.match_status",
.brief = "Match result - success or failure",
.stability = .stable,
.requirement_level = .recommended,
},
.well_known_values = aspnetcore_routing_match_statusValue.success,
};
/// 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.
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 = .recommended,
};
/// 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.
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.
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.
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.
pub const aws_dynamodb_consistent_read = types.StringAttribute{
.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.
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.
pub const aws_dynamodb_count = types.StringAttribute{
.name = "aws.dynamodb.count",
.brief = "The value of the `Count` response parameter.",
.stability = .development,
.requirement_level = .recommended,
};
/// The value of the `ExclusiveStartTableName` request parameter.
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.
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
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.
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.
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.
pub const aws_dynamodb_limit = types.StringAttribute{
.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.
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.
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.
pub const aws_dynamodb_provisioned_read_capacity = types.StringAttribute{
.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.
pub const aws_dynamodb_provisioned_write_capacity = types.StringAttribute{
.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.
pub const aws_dynamodb_scan_forward = types.StringAttribute{
.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.
pub const aws_dynamodb_scanned_count = types.StringAttribute{
.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.
pub const aws_dynamodb_segment = types.StringAttribute{
.name = "aws.dynamodb.segment",
.brief = "The value of the `Segment` request parameter.",
.stability = .development,
.requirement_level = .recommended,
};
/// The value of the `Select` request parameter.
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.
pub const aws_dynamodb_table_count = types.StringAttribute{
.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.
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.
pub const aws_dynamodb_total_segments = types.StringAttribute{
.name = "aws.dynamodb.total_segments",
.brief = "The value of the `TotalSegments` request parameter.",
.stability = .development,
.requirement_level = .recommended,
};
/// The ARN of an [ECS cluster](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/clusters.html).
pub const aws_ecs_cluster_arn = types.StringAttribute{
.name = "aws.ecs.cluster.arn",
.brief = "The ARN of an [ECS cluster](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/clusters.html).",
.stability = .development,
.requirement_level = .recommended,
};
/// The Amazon Resource Name (ARN) of an [ECS container instance](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_instances.html).
pub const aws_ecs_container_arn = types.StringAttribute{
.name = "aws.ecs.container.arn",
.brief = "The Amazon Resource Name (ARN) of an [ECS container instance](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_instances.html).",
.stability = .development,
.requirement_level = .recommended,
};
pub const aws_ecs_launchtypeValue = enum {
ec2,
fargate,
pub fn toString(self: @This()) []const u8 {
return switch (self) {
.ec2 => "ec2",
.fargate => "fargate",
};
}
};
/// The [launch type](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) for an ECS task.
pub const aws_ecs_launchtype = types.EnumAttribute(aws_ecs_launchtypeValue){
.base = types.StringAttribute{
.name = "aws.ecs.launchtype",
.brief = "The [launch type](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) for an ECS task.",
.stability = .development,
.requirement_level = .recommended,
},
.well_known_values = aws_ecs_launchtypeValue.ec2,
};
/// The ARN of a running [ECS task](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#ecs-resource-ids).
pub const aws_ecs_task_arn = types.StringAttribute{
.name = "aws.ecs.task.arn",
.brief = "The ARN of a running [ECS task](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#ecs-resource-ids).",
.stability = .development,
.requirement_level = .recommended,
};
/// The family name of the [ECS task definition](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definitions.html) used to create the ECS task.
pub const aws_ecs_task_family = types.StringAttribute{
.name = "aws.ecs.task.family",
.brief = "The family name of the [ECS task definition](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definitions.html) used to create the ECS task.",
.stability = .development,
.requirement_level = .recommended,
};
/// The ID of a running ECS task. The ID MUST be extracted from `task.arn`.
pub const aws_ecs_task_id = types.StringAttribute{
.name = "aws.ecs.task.id",
.brief = "The ID of a running ECS task. The ID MUST be extracted from `task.arn`.",
.stability = .development,
.requirement_level = .recommended,
};
/// The revision for the task definition used to create the ECS task.
pub const aws_ecs_task_revision = types.StringAttribute{
.name = "aws.ecs.task.revision",
.brief = "The revision for the task definition used to create the ECS task.",
.stability = .development,
.requirement_level = .recommended,
};
/// The ARN of an EKS cluster.
pub const aws_eks_cluster_arn = types.StringAttribute{
.name = "aws.eks.cluster.arn",
.brief = "The ARN of an EKS cluster.",
.stability = .development,
.requirement_level = .recommended,
};
/// The AWS extended request ID as returned in the response header `x-amz-id-2`.
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 = .recommended,
};
/// The name of the AWS Kinesis [stream](https://docs.aws.amazon.com/streams/latest/dev/introduction.html) the request refers to. Corresponds to the `--stream-name` parameter of the Kinesis [describe-stream](https://docs.aws.amazon.com/cli/latest/reference/kinesis/describe-stream.html) operation.
pub const aws_kinesis_stream_name = types.StringAttribute{
.name = "aws.kinesis.stream_name",
.brief = "The name of the AWS Kinesis [stream](https://docs.aws.amazon.com/streams/latest/dev/introduction.html) the request refers to. Corresponds to the `--stream-name` parameter of the Kinesis [describe-stream](https://docs.aws.amazon.com/cli/latest/reference/kinesis/describe-stream.html) operation.",
.stability = .development,
.requirement_level = .recommended,
};
/// 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).
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).",
.note = "This may be different from `cloud.resource_id` if an alias is involved.",
.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.
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 Amazon Resource Name(s) (ARN) of the AWS log group(s).
pub const aws_log_group_arns = types.StringAttribute{
.name = "aws.log.group.arns",
.brief = "The Amazon Resource Name(s) (ARN) of the AWS log group(s).",
.note = "See the [log group ARN format documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/iam-access-control-overview-cwl.html#CWL_ARN_Format).",
.stability = .development,
.requirement_level = .recommended,
};
/// The name(s) of the AWS log group(s) an application is writing to.
pub const aws_log_group_names = types.StringAttribute{
.name = "aws.log.group.names",
.brief = "The name(s) of the AWS log group(s) an application is writing to.",
.note = "Multiple log groups must be supported for cases like multi-container applications, where a single application has sidecar containers, and each write to their own log group.",
.stability = .development,
.requirement_level = .recommended,
};
/// The ARN(s) of the AWS log stream(s).
pub const aws_log_stream_arns = types.StringAttribute{
.name = "aws.log.stream.arns",
.brief = "The ARN(s) of the AWS log stream(s).",
.note = "See the [log stream ARN format documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/iam-access-control-overview-cwl.html#CWL_ARN_Format). One log group can contain several log streams, so these ARNs necessarily identify both a log group and a log stream.",
.stability = .development,
.requirement_level = .recommended,
};
/// The name(s) of the AWS log stream(s) an application is writing to.
pub const aws_log_stream_names = types.StringAttribute{
.name = "aws.log.stream.names",
.brief = "The name(s) of the AWS log stream(s) an application is writing to.",
.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`.
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.
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.",
.note = "The `bucket` attribute is applicable to all S3 operations that reference a bucket, i.e. that require the bucket name as a mandatory parameter. This applies to almost all S3 operations except `list-buckets`.",
.stability = .development,
.requirement_level = .recommended,
};
/// The source object (in the form `bucket`/`key`) for the copy operation.
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.",
.note = "The `copy_source` attribute applies to S3 copy operations and corresponds to the `--copy-source` parameter of the [copy-object operation within the S3 API](https://docs.aws.amazon.com/cli/latest/reference/s3api/copy-object.html). This applies in particular to the following operations: - [copy-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/copy-object.html) - [upload-part-copy](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part-copy.html)",
.stability = .development,
.requirement_level = .recommended,
};
/// The delete request container that specifies the objects to be deleted.
pub const aws_s3_delete = types.StringAttribute{
.name = "aws.s3.delete",
.brief = "The delete request container that specifies the objects to be deleted.",
.note = "The `delete` attribute is only applicable to the [delete-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/delete-object.html) operation. The `delete` attribute corresponds to the `--delete` parameter of the [delete-objects operation within the S3 API](https://docs.aws.amazon.com/cli/latest/reference/s3api/delete-objects.html).",
.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.
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.",
.note = "The `key` attribute is applicable to all object-related S3 operations, i.e. that require the object key as a mandatory parameter. This applies in particular to the following operations: - [copy-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/copy-object.html) - [delete-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/delete-object.html) - [get-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/get-object.html) - [head-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/head-object.html) - [put-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/put-object.html) - [restore-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/restore-object.html) - [select-object-content](https://docs.aws.amazon.com/cli/latest/reference/s3api/select-object-content.html) - [abort-multipart-upload](https://docs.aws.amazon.com/cli/latest/reference/s3api/abort-multipart-upload.html) - [complete-multipart-upload](https://docs.aws.amazon.com/cli/latest/reference/s3api/complete-multipart-upload.html) - [create-multipart-upload](https://docs.aws.amazon.com/cli/latest/reference/s3api/create-multipart-upload.html) - [list-parts](https://docs.aws.amazon.com/cli/latest/reference/s3api/list-parts.html) - [upload-part](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part.html) - [upload-part-copy](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part-copy.html)",
.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.
pub const aws_s3_part_number = types.StringAttribute{
.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.",
.note = "The `part_number` attribute is only applicable to the [upload-part](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part.html) and [upload-part-copy](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part-copy.html) operations. The `part_number` attribute corresponds to the `--part-number` parameter of the [upload-part operation within the S3 API](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part.html).",
.stability = .development,
.requirement_level = .recommended,
};
/// Upload ID that identifies the multipart upload.
pub const aws_s3_upload_id = types.StringAttribute{
.name = "aws.s3.upload_id",
.brief = "Upload ID that identifies the multipart upload.",
.note = "The `upload_id` attribute applies to S3 multipart-upload operations and corresponds to the `--upload-id` parameter of the [S3 API](https://docs.aws.amazon.com/cli/latest/reference/s3api/index.html) multipart operations. This applies in particular to the following operations: - [abort-multipart-upload](https://docs.aws.amazon.com/cli/latest/reference/s3api/abort-multipart-upload.html) - [complete-multipart-upload](https://docs.aws.amazon.com/cli/latest/reference/s3api/complete-multipart-upload.html) - [list-parts](https://docs.aws.amazon.com/cli/latest/reference/s3api/list-parts.html) - [upload-part](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part.html) - [upload-part-copy](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part-copy.html)",
.stability = .development,
.requirement_level = .recommended,
};
/// The ARN of the Secret stored in the Secrets Mangger
pub const aws_secretsmanager_secret_arn = types.StringAttribute{
.name = "aws.secretsmanager.secret.arn",
.brief = "The ARN of the Secret stored in the Secrets Mangger",
.stability = .development,
.requirement_level = .recommended,
};
/// The ARN of the AWS SNS Topic. An Amazon SNS [topic](https://docs.aws.amazon.com/sns/latest/dg/sns-create-topic.html) is a logical access point that acts as a communication channel.
pub const aws_sns_topic_arn = types.StringAttribute{
.name = "aws.sns.topic.arn",
.brief = "The ARN of the AWS SNS Topic. An Amazon SNS [topic](https://docs.aws.amazon.com/sns/latest/dg/sns-create-topic.html) is a logical access point that acts as a communication channel.",
.stability = .development,
.requirement_level = .recommended,
};
/// The URL of the AWS SQS Queue. It's a unique identifier for a queue in Amazon Simple Queue Service (SQS) and is used to access the queue and perform actions on it.
pub const aws_sqs_queue_url = types.StringAttribute{
.name = "aws.sqs.queue.url",
.brief = "The URL of the AWS SQS Queue. It's a unique identifier for a queue in Amazon Simple Queue Service (SQS) and is used to access the queue and perform actions on it.",
.stability = .development,
.requirement_level = .recommended,
};
/// The ARN of the AWS Step Functions Activity.
pub const aws_step_functions_activity_arn = types.StringAttribute{
.name = "aws.step_functions.activity.arn",
.brief = "The ARN of the AWS Step Functions Activity.",
.stability = .development,
.requirement_level = .recommended,
};
/// The ARN of the AWS Step Functions State Machine.
pub const aws_step_functions_state_machine_arn = types.StringAttribute{
.name = "aws.step_functions.state_machine.arn",
.brief = "The ARN of the AWS Step Functions State Machine.",
.stability = .development,
.requirement_level = .recommended,
};
/// Deprecated, use `azure.resource_provider.namespace` instead.
pub const az_namespace = types.StringAttribute{
.name = "az.namespace",
.brief = "Deprecated, use `azure.resource_provider.namespace` instead.",
.stability = .development,
.requirement_level = .recommended,
};
/// Deprecated, use `azure.service.request.id` instead.
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.
pub const azure_client_id = types.StringAttribute{
.name = "azure.client.id",
.brief = "The unique identifier of the client instance.",
.stability = .development,
.requirement_level = .recommended,
};
pub const azure_cosmosdb_connection_modeValue = enum {
gateway,
direct,
pub fn toString(self: @This()) []const u8 {
return switch (self) {
.gateway => "gateway",
.direct => "direct",
};
}
};
/// Cosmos client connection mode.
pub const azure_cosmosdb_connection_mode = types.EnumAttribute(azure_cosmosdb_connection_modeValue){
.base = types.StringAttribute{
.name = "azure.cosmosdb.connection.mode",
.brief = "Cosmos client connection mode.",
.stability = .development,
.requirement_level = .recommended,
},
.well_known_values = azure_cosmosdb_connection_modeValue.gateway,
};
pub const azure_cosmosdb_consistency_levelValue = enum {
strong,
bounded_staleness,
session,
eventual,
consistent_prefix,
pub fn toString(self: @This()) []const u8 {
return switch (self) {
.strong => "Strong",
.bounded_staleness => "BoundedStaleness",
.session => "Session",
.eventual => "Eventual",
.consistent_prefix => "ConsistentPrefix",
};
}
};
/// Account or request [consistency level](https://learn.microsoft.com/azure/cosmos-db/consistency-levels).
pub const azure_cosmosdb_consistency_level = types.EnumAttribute(azure_cosmosdb_consistency_levelValue){
.base = 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 = .recommended,
},
.well_known_values = azure_cosmosdb_consistency_levelValue.strong,
};
/// 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.
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.",
.note = "Region name matches the format of `displayName` in [Azure Location API](https://learn.microsoft.com/rest/api/subscription/subscriptions/list-locations?view=rest-subscription-2021-10-01&tabs=HTTP#location)",
.stability = .development,
.requirement_level = .recommended,
};
/// The number of request units consumed by the operation.
pub const azure_cosmosdb_operation_request_charge = types.StringAttribute{
.name = "azure.cosmosdb.operation.request_charge",
.brief = "The number of request units consumed by the operation.",
.stability = .development,
.requirement_level = .recommended,
};
/// Request payload size in bytes.
pub const azure_cosmosdb_request_body_size = types.StringAttribute{
.name = "azure.cosmosdb.request.body.size",
.brief = "Request payload size in bytes.",
.stability = .development,
.requirement_level = .recommended,
};
/// Cosmos DB sub status code.
pub const azure_cosmosdb_response_sub_status_code = types.StringAttribute{
.name = "azure.cosmosdb.response.sub_status_code",
.brief = "Cosmos DB sub status code.",
.stability = .development,
.requirement_level = .recommended,
};
/// [Azure Resource Provider Namespace](https://learn.microsoft.com/azure/azure-resource-manager/management/azure-services-resource-providers) as recognized by the client.
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.
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,
};
/// Array of brand name and version separated by a space
pub const browser_brands = types.StringAttribute{
.name = "browser.brands",
.brief = "Array of brand name and version separated by a space",
.note = "This value is intended to be taken from the [UA client hints API](https://wicg.github.io/ua-client-hints/#interface) (`navigator.userAgentData.brands`).",
.stability = .development,
.requirement_level = .recommended,
};
/// Preferred language of the user using the browser
pub const browser_language = types.StringAttribute{
.name = "browser.language",
.brief = "Preferred language of the user using the browser",
.note = "This value is intended to be taken from the Navigator API `navigator.language`.",
.stability = .development,
.requirement_level = .recommended,
};
/// A boolean that is true if the browser is running on a mobile device
pub const browser_mobile = types.StringAttribute{
.name = "browser.mobile",
.brief = "A boolean that is true if the browser is running on a mobile device",
.note = "This value is intended to be taken from the [UA client hints API](https://wicg.github.io/ua-client-hints/#interface) (`navigator.userAgentData.mobile`). If unavailable, this attribute SHOULD be left unset.",
.stability = .development,
.requirement_level = .recommended,
};
/// The platform on which the browser is running
pub const browser_platform = types.StringAttribute{
.name = "browser.platform",
.brief = "The platform on which the browser is running",
.note = "This value is intended to be taken from the [UA client hints API](https://wicg.github.io/ua-client-hints/#interface) (`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](https://wicg.github.io/ua-client-hints/#sec-ch-ua-platform). Note that some (but not all) of these values can overlap with values in the [`os.type` and `os.name` attributes](./os.md). However, for consistency, the values in the `browser.platform` attribute should capture the exact value that the user agent provides.",
.stability = .development,
.requirement_level = .recommended,
};
pub const cassandra_consistency_levelValue = enum {
all,
each_quorum,
quorum,
local_quorum,
one,
two,
three,
local_one,
any,
serial,
local_serial,
pub fn toString(self: @This()) []const u8 {
return switch (self) {
.all => "all",
.each_quorum => "each_quorum",
.quorum => "quorum",
.local_quorum => "local_quorum",
.one => "one",
.two => "two",
.three => "three",
.local_one => "local_one",
.any => "any",
.serial => "serial",
.local_serial => "local_serial",
};
}
};
/// 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).
pub const cassandra_consistency_level = types.EnumAttribute(cassandra_consistency_levelValue){
.base = 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,
},
.well_known_values = cassandra_consistency_levelValue.all,
};
/// The data center of the coordinating node for a query.
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.
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.
pub const cassandra_page_size = types.StringAttribute{
.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.
pub const cassandra_query_idempotent = types.StringAttribute{
.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.
pub const cassandra_speculative_execution_count = types.StringAttribute{
.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,
};
pub const cicd_pipeline_action_nameValue = enum {
build,
run,
sync,
pub fn toString(self: @This()) []const u8 {
return switch (self) {
.build => "BUILD",
.run => "RUN",
.sync => "SYNC",
};
}
};
/// The kind of action a pipeline run is performing.
pub const cicd_pipeline_action_name = types.EnumAttribute(cicd_pipeline_action_nameValue){
.base = types.StringAttribute{
.name = "cicd.pipeline.action.name",
.brief = "The kind of action a pipeline run is performing.",
.stability = .development,
.requirement_level = .recommended,
},
.well_known_values = cicd_pipeline_action_nameValue.build,
};
/// The human readable name of the pipeline within a CI/CD system.
pub const cicd_pipeline_name = types.StringAttribute{
.name = "cicd.pipeline.name",
.brief = "The human readable name of the pipeline within a CI/CD system.",
.stability = .development,
.requirement_level = .recommended,
};
pub const cicd_pipeline_resultValue = enum {
success,
failure,
@"error",
timeout,
cancellation,
skip,
pub fn toString(self: @This()) []const u8 {
return switch (self) {
.success => "success",
.failure => "failure",
.@"error" => "error",
.timeout => "timeout",
.cancellation => "cancellation",
.skip => "skip",
};
}
};
/// The result of a pipeline run.
pub const cicd_pipeline_result = types.EnumAttribute(cicd_pipeline_resultValue){
.base = types.StringAttribute{
.name = "cicd.pipeline.result",
.brief = "The result of a pipeline run.",
.stability = .development,
.requirement_level = .recommended,
},
.well_known_values = cicd_pipeline_resultValue.success,
};
/// The unique identifier of a pipeline run within a CI/CD system.
pub const cicd_pipeline_run_id = types.StringAttribute{
.name = "cicd.pipeline.run.id",
.brief = "The unique identifier of a pipeline run within a CI/CD system.",
.stability = .development,
.requirement_level = .recommended,
};
pub const cicd_pipeline_run_stateValue = enum {
pending,
executing,
finalizing,
pub fn toString(self: @This()) []const u8 {
return switch (self) {
.pending => "pending",
.executing => "executing",
.finalizing => "finalizing",
};
}
};
/// The pipeline run goes through these states during its lifecycle.
pub const cicd_pipeline_run_state = types.EnumAttribute(cicd_pipeline_run_stateValue){
.base = types.StringAttribute{
.name = "cicd.pipeline.run.state",
.brief = "The pipeline run goes through these states during its lifecycle.",
.stability = .development,
.requirement_level = .recommended,
},
.well_known_values = cicd_pipeline_run_stateValue.pending,
};
/// The [URL](https://wikipedia.org/wiki/URL) of the pipeline run, providing the complete address in order to locate and identify the pipeline run.
pub const cicd_pipeline_run_url_full = types.StringAttribute{
.name = "cicd.pipeline.run.url.full",
.brief = "The [URL](https://wikipedia.org/wiki/URL) of the pipeline run, providing the complete address in order to locate and identify the pipeline run.",
.stability = .development,
.requirement_level = .recommended,
};
/// 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.
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 = .recommended,
};
/// The unique identifier of a task run within a pipeline.
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 = .recommended,
};
pub const cicd_pipeline_task_run_resultValue = enum {
success,
failure,
@"error",
timeout,
cancellation,
skip,
pub fn toString(self: @This()) []const u8 {
return switch (self) {
.success => "success",
.failure => "failure",
.@"error" => "error",
.timeout => "timeout",
.cancellation => "cancellation",
.skip => "skip",
};
}
};
/// The result of a task run.
pub const cicd_pipeline_task_run_result = types.EnumAttribute(cicd_pipeline_task_run_resultValue){
.base = types.StringAttribute{
.name = "cicd.pipeline.task.run.result",
.brief = "The result of a task run.",
.stability = .development,
.requirement_level = .recommended,
},
.well_known_values = cicd_pipeline_task_run_resultValue.success,
};
/// 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.
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 = .recommended,
};