-
Notifications
You must be signed in to change notification settings - Fork 2k
Expand file tree
/
Copy pathinternal_metrics.cue
More file actions
1202 lines (1185 loc) · 39.1 KB
/
internal_metrics.cue
File metadata and controls
1202 lines (1185 loc) · 39.1 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
package metadata
components: sources: internal_metrics: {
title: "Internal Metrics"
description: """
Exposes Vector's own internal metrics, allowing you to collect, process,
and route Vector's internal metrics just like other metrics.
"""
classes: {
commonly_used: true
delivery: "at_least_once"
deployment_roles: ["aggregator", "daemon", "sidecar"]
development: "stable"
egress_method: "batch"
stateful: false
}
features: {
acknowledgements: false
collect: {
checkpoint: enabled: false
from: service: services.vector
}
multiline: enabled: false
}
support: {
notices: []
requirements: []
warnings: []
}
installation: {
platform_name: null
}
configuration: generated.components.sources.internal_metrics.configuration
output: metrics: {
// Default internal metrics tags
_internal_metrics_tags: {
pid: {
description: "The process ID of the Vector instance."
required: false
examples: ["4232"]
}
host: {
description: "The hostname of the system Vector is running on."
required: false
examples: [_values.local_host]
}
}
// Instance-level "process" metrics
active_clients: {
description: "Number of clients attached to a component."
type: "gauge"
default_namespace: "vector"
tags: _component_tags
}
aggregate_events_recorded_total: {
description: "The number of events recorded by the aggregate transform."
type: "counter"
default_namespace: "vector"
tags: _component_tags
}
aggregate_failed_updates: {
description: "The number of failed metric updates, `incremental` adds, encountered by the aggregate transform."
type: "counter"
default_namespace: "vector"
tags: _component_tags
}
aggregate_flushes_total: {
description: "The number of flushes done by the aggregate transform."
type: "counter"
default_namespace: "vector"
tags: _component_tags
}
api_started_total: {
description: "The number of times the Vector GraphQL API has been started."
type: "counter"
default_namespace: "vector"
tags: _internal_metrics_tags
}
component_timed_out_events_total: {
description: "The total number of events for which this source responded with a timeout error."
type: "counter"
default_namespace: "vector"
tags: _component_tags
}
component_timed_out_requests_total: {
description: "The total number of requests for which this source responded with a timeout error."
type: "counter"
default_namespace: "vector"
tags: _component_tags
}
connection_established_total: {
description: "The total number of times a connection has been established."
type: "counter"
default_namespace: "vector"
tags: _internal_metrics_tags
}
connection_send_errors_total: {
description: "The total number of errors sending data via the connection."
type: "counter"
default_namespace: "vector"
tags: _internal_metrics_tags
}
connection_shutdown_total: {
description: "The total number of times the connection has been shut down."
type: "counter"
default_namespace: "vector"
tags: _internal_metrics_tags
}
quit_total: {
description: "The total number of times the Vector instance has quit."
type: "counter"
default_namespace: "vector"
tags: _internal_metrics_tags
}
reloaded_total: {
description: "The total number of times the Vector instance has been reloaded."
type: "counter"
default_namespace: "vector"
tags: _internal_metrics_tags
}
started_total: {
description: "The total number of times the Vector instance has been started."
type: "counter"
default_namespace: "vector"
tags: _internal_metrics_tags
}
stopped_total: {
description: "The total number of times the Vector instance has been stopped."
type: "counter"
default_namespace: "vector"
tags: _internal_metrics_tags
}
// Metrics emitted by one or more components
// Reusable metric definitions
adaptive_concurrency_averaged_rtt: {
description: "The average round-trip time (RTT) for the current window."
type: "histogram"
default_namespace: "vector"
tags: _component_tags
}
adaptive_concurrency_in_flight: {
description: "The number of outbound requests currently awaiting a response."
type: "histogram"
default_namespace: "vector"
tags: _component_tags
}
adaptive_concurrency_limit: {
description: "The concurrency limit that the adaptive concurrency feature has decided on for this current window."
type: "histogram"
default_namespace: "vector"
tags: _component_tags
}
adaptive_concurrency_observed_rtt: {
description: "The observed round-trip time (RTT) for requests."
type: "histogram"
default_namespace: "vector"
tags: _component_tags
}
checkpoints_total: {
description: "The total number of files checkpointed."
type: "counter"
default_namespace: "vector"
tags: _internal_metrics_tags
}
checksum_errors_total: {
description: "The total number of errors identifying files via checksum."
type: "counter"
default_namespace: "vector"
tags: _internal_metrics_tags & {
file: _file
}
}
collect_completed_total: {
description: "The total number of metrics collections completed for this component."
type: "counter"
default_namespace: "vector"
tags: _internal_metrics_tags
}
collect_duration_seconds: {
description: "The duration spent collecting of metrics for this component."
type: "histogram"
default_namespace: "vector"
tags: _internal_metrics_tags
}
command_executed_total: {
description: "The total number of times a command has been executed."
type: "counter"
default_namespace: "vector"
tags: _component_tags
}
command_execution_duration_seconds: {
description: "The command execution duration in seconds."
type: "histogram"
default_namespace: "vector"
tags: _component_tags
}
connection_read_errors_total: {
description: "The total number of errors reading datagram."
type: "counter"
default_namespace: "vector"
tags: _component_tags & {
mode: {
description: ""
required: true
enum: {
udp: "User Datagram Protocol"
}
}
}
}
container_processed_events_total: {
description: "The total number of container events processed."
type: "counter"
default_namespace: "vector"
tags: _component_tags
}
containers_unwatched_total: {
description: "The total number of times Vector stopped watching for container logs."
type: "counter"
default_namespace: "vector"
tags: _component_tags
}
containers_watched_total: {
description: "The total number of times Vector started watching for container logs."
type: "counter"
default_namespace: "vector"
tags: _component_tags
}
doris_bytes_loaded_total: {
description: "The total number of bytes loaded into Doris."
type: "counter"
default_namespace: "vector"
tags: _component_tags
}
doris_rows_filtered_total: {
description: "The total number of rows filtered by Doris during stream load."
type: "counter"
default_namespace: "vector"
tags: _component_tags
}
doris_rows_loaded_total: {
description: "The total number of rows successfully loaded into Doris."
type: "counter"
default_namespace: "vector"
tags: _component_tags
}
k8s_format_picker_edge_cases_total: {
description: "The total number of edge cases encountered while picking format of the Kubernetes log message."
type: "counter"
default_namespace: "vector"
tags: _component_tags
}
k8s_docker_format_parse_failures_total: {
description: "The total number of failures to parse a message as a JSON object."
type: "counter"
default_namespace: "vector"
tags: _component_tags
}
events_discarded_total: {
description: "The total number of events discarded by this component."
type: "counter"
default_namespace: "vector"
tags: _internal_metrics_tags & {
reason: _reason
}
}
buffer_byte_size: {
description: "The number of bytes current in the buffer."
type: "gauge"
default_namespace: "vector"
tags: _component_tags
}
buffer_events: {
description: "The number of events currently in the buffer."
type: "gauge"
default_namespace: "vector"
tags: _component_tags
}
buffer_discarded_events_total: {
description: "The number of events dropped by this non-blocking buffer."
type: "counter"
default_namespace: "vector"
tags: _component_tags
}
buffer_received_event_bytes_total: {
description: "The number of bytes received by this buffer."
type: "counter"
default_namespace: "vector"
tags: _component_tags
}
buffer_received_events_total: {
description: "The number of events received by this buffer."
type: "counter"
default_namespace: "vector"
tags: _component_tags
}
buffer_send_duration_seconds: {
description: "The duration spent sending a payload to this buffer."
type: "histogram"
default_namespace: "vector"
tags: _component_tags
}
buffer_sent_event_bytes_total: {
description: "The number of bytes sent by this buffer."
type: "counter"
default_namespace: "vector"
tags: _component_tags
}
buffer_sent_events_total: {
description: "The number of events sent by this buffer."
type: "counter"
default_namespace: "vector"
tags: _component_tags
}
component_discarded_events_total: {
description: "The number of events dropped by this component."
type: "counter"
default_namespace: "vector"
tags: _component_tags & {
intentional: {
description: "True if the events were discarded intentionally, like a `filter` transform, or false if due to an error."
required: true
}
}
}
component_errors_total: {
description: "The total number of errors encountered by this component."
type: "counter"
default_namespace: "vector"
tags: _component_tags & {
error_type: _error_type
stage: _stage
}
}
component_received_bytes_total: {
description: string | *"The number of raw bytes accepted by this component from source origins."
type: "counter"
default_namespace: "vector"
tags: component_received_events_total.tags
}
component_received_bytes: {
description: string | *"The size in bytes of each event received by the source."
type: "histogram"
default_namespace: "vector"
tags: component_received_events_total.tags
}
component_received_events_total: {
description: """
The number of events accepted by this component either from tagged
origins like file and uri, or cumulatively from other origins.
"""
type: "counter"
default_namespace: "vector"
tags: _component_tags & {
file: {
description: "The file from which the data originated."
required: false
}
uri: {
description: "The sanitized URI from which the data originated."
required: false
}
container_name: {
description: "The name of the container from which the data originated."
required: false
}
pod_name: {
description: "The name of the pod from which the data originated."
required: false
}
peer_addr: {
description: "The IP from which the data originated."
required: false
}
peer_path: {
description: "The pathname from which the data originated."
required: false
}
mode: _mode
}
}
component_received_events_count: {
description: """
A histogram of the number of events passed in each internal batch in Vector's internal topology.
Note that this is separate than sink-level batching. It is mostly useful for low level debugging
performance issues in Vector due to small internal batches.
"""
type: "histogram"
default_namespace: "vector"
tags: _component_tags & {
file: {
description: "The file from which the data originated."
required: false
}
uri: {
description: "The sanitized URI from which the data originated."
required: false
}
container_name: {
description: "The name of the container from which the data originated."
required: false
}
pod_name: {
description: "The name of the pod from which the data originated."
required: false
}
peer_addr: {
description: "The IP from which the data originated."
required: false
}
peer_path: {
description: "The pathname from which the data originated."
required: false
}
mode: _mode
}
}
component_received_event_bytes_total: {
description: """
The number of event bytes accepted by this component either from
tagged origins like file and uri, or cumulatively from other origins.
"""
type: "counter"
default_namespace: "vector"
tags: component_received_events_total.tags
}
component_sent_bytes_total: {
description: "The number of raw bytes sent by this component to destination sinks."
type: "counter"
default_namespace: "vector"
tags: _component_tags & {
endpoint: {
description: "The endpoint to which the bytes were sent. For HTTP, this will be the host and path only, excluding the query string."
required: false
}
file: {
description: "The absolute path of the destination file."
required: false
}
protocol: {
description: "The protocol used to send the bytes."
required: true
}
region: {
description: "The AWS region name to which the bytes were sent. In some configurations, this may be a literal hostname."
required: false
}
}
}
component_sent_events_total: {
description: "The total number of events emitted by this component."
type: "counter"
default_namespace: "vector"
tags: _component_tags & {output: _output}
}
component_sent_event_bytes_total: {
description: "The total number of event bytes emitted by this component."
type: "counter"
default_namespace: "vector"
tags: _component_tags & {output: _output}
}
internal_metrics_cardinality: {
description: "The total number of metrics emitted from the internal metrics registry."
type: "gauge"
default_namespace: "vector"
tags: {}
}
internal_metrics_cardinality_total: {
description: "The total number of metrics emitted from the internal metrics registry. This metric is deprecated in favor of `internal_metrics_cardinality`."
type: "counter"
default_namespace: "vector"
tags: internal_metrics_cardinality.tags
}
kafka_queue_messages: {
description: "Current number of messages in producer queues."
type: "gauge"
default_namespace: "vector"
tags: _component_tags
}
kafka_queue_messages_bytes: {
description: "Current total size of messages in producer queues."
type: "gauge"
default_namespace: "vector"
tags: _component_tags
}
kafka_requests_total: {
description: "Total number of requests sent to Kafka brokers."
type: "counter"
default_namespace: "vector"
tags: _component_tags
}
kafka_requests_bytes_total: {
description: "Total number of bytes transmitted to Kafka brokers."
type: "counter"
default_namespace: "vector"
tags: _component_tags
}
kafka_responses_total: {
description: "Total number of responses received from Kafka brokers."
type: "counter"
default_namespace: "vector"
tags: _component_tags
}
kafka_responses_bytes_total: {
description: "Total number of bytes received from Kafka brokers."
type: "counter"
default_namespace: "vector"
tags: _component_tags
}
kafka_produced_messages_total: {
description: "Total number of messages transmitted (produced) to Kafka brokers."
type: "counter"
default_namespace: "vector"
tags: _component_tags
}
kafka_produced_messages_bytes_total: {
description: "Total number of message bytes (including framing, such as per-Message framing and MessageSet/batch framing) transmitted to Kafka brokers."
type: "counter"
default_namespace: "vector"
tags: _component_tags
}
kafka_consumed_messages_total: {
description: "Total number of messages consumed, not including ignored messages (due to offset, etc), from Kafka brokers."
type: "counter"
default_namespace: "vector"
tags: _component_tags
}
kafka_consumed_messages_bytes_total: {
description: "Total number of message bytes (including framing) received from Kafka brokers."
type: "counter"
default_namespace: "vector"
tags: _component_tags
}
kafka_consumer_lag: {
description: "The Kafka consumer lag."
type: "gauge"
default_namespace: "vector"
tags: _component_tags & {
topic_id: {
description: "The Kafka topic id."
required: true
}
partition_id: {
description: "The Kafka partition id."
required: true
}
}
}
files_added_total: {
description: "The total number of files Vector has found to watch."
type: "counter"
default_namespace: "vector"
tags: _internal_metrics_tags & {
file: _file
}
}
files_deleted_total: {
description: "The total number of files deleted."
type: "counter"
default_namespace: "vector"
tags: _internal_metrics_tags & {
file: _file
}
}
files_resumed_total: {
description: "The total number of times Vector has resumed watching a file."
type: "counter"
default_namespace: "vector"
tags: _internal_metrics_tags & {
file: _file
}
}
files_unwatched_total: {
description: "The total number of times Vector has stopped watching a file."
type: "counter"
default_namespace: "vector"
tags: _internal_metrics_tags & {
file: _file
}
}
open_files: {
description: "The total number of open files."
type: "counter"
default_namespace: "vector"
tags: _component_tags
}
grpc_server_messages_received_total: {
description: "The total number of gRPC messages received."
type: "counter"
default_namespace: "vector"
tags: _component_tags & {
grpc_method: _grpc_method
grpc_service: _grpc_service
}
}
grpc_server_messages_sent_total: {
description: "The total number of gRPC messages sent."
type: "counter"
default_namespace: "vector"
tags: _component_tags & {
grpc_method: _grpc_method
grpc_service: _grpc_service
grpc_status: _grpc_status
}
}
grpc_server_handler_duration_seconds: {
description: "The duration spent handling a gRPC request."
type: "histogram"
default_namespace: "vector"
tags: _component_tags & {
grpc_method: _grpc_method
grpc_service: _grpc_service
grpc_status: _grpc_status
}
}
http_client_response_rtt_seconds: {
description: "The round-trip time (RTT) of HTTP requests, tagged with the response code."
type: "histogram"
default_namespace: "vector"
tags: _component_tags & {
status: _status
}
}
http_client_requests_sent_total: {
description: "The total number of sent HTTP requests, tagged with the request method."
type: "counter"
default_namespace: "vector"
tags: _component_tags & {
method: _method
}
}
http_client_responses_total: {
description: "The total number of HTTP requests, tagged with the response code."
type: "counter"
default_namespace: "vector"
tags: _component_tags & {
status: _status
}
}
http_client_rtt_seconds: {
description: "The round-trip time (RTT) of HTTP requests."
type: "histogram"
default_namespace: "vector"
tags: _component_tags
}
http_requests_total: {
description: "The total number of HTTP requests issued by this component."
type: "counter"
default_namespace: "vector"
tags: _component_tags
}
http_server_requests_received_total: {
description: "The total number of HTTP requests received."
type: "counter"
default_namespace: "vector"
tags: _component_tags & {
method: _method
path: _path
}
}
http_server_responses_sent_total: {
description: "The total number of HTTP responses sent."
type: "counter"
default_namespace: "vector"
tags: _component_tags & {
method: _method
path: _path
status: _status
}
}
http_server_handler_duration_seconds: {
description: "The duration spent handling a HTTP request."
type: "histogram"
default_namespace: "vector"
tags: _component_tags & {
method: _method
path: _path
status: _status
}
}
invalid_record_total: {
description: "The total number of invalid records that have been discarded."
type: "counter"
default_namespace: "vector"
tags: _component_tags
}
lua_memory_used_bytes: {
description: "The total memory currently being used by the Lua runtime."
type: "gauge"
default_namespace: "vector"
tags: _internal_metrics_tags
}
metadata_refresh_failed_total: {
description: "The total number of failed efforts to refresh AWS EC2 metadata."
type: "counter"
default_namespace: "vector"
tags: _component_tags
}
metadata_refresh_successful_total: {
description: "The total number of AWS EC2 metadata refreshes."
type: "counter"
default_namespace: "vector"
tags: _component_tags
}
open_connections: {
description: "The number of current open connections to Vector."
type: "gauge"
default_namespace: "vector"
tags: _internal_metrics_tags
}
protobuf_decode_errors_total: {
description: "The total number of [Protocol Buffers](\(urls.protobuf)) errors thrown during communication between Vector instances."
type: "counter"
default_namespace: "vector"
tags: _component_tags
}
send_errors_total: {
description: "The total number of errors sending messages."
type: "counter"
default_namespace: "vector"
tags: _component_tags
}
source_lag_time_seconds: {
description: "The difference between the timestamp recorded in each event and the time when it was ingested, expressed as fractional seconds."
type: "histogram"
default_namespace: "vector"
tags: _component_tags
}
source_buffer_max_byte_size: {
description: "The maximum number of bytes the source buffer can hold. The outputs of the source send data to this buffer."
type: "gauge"
default_namespace: "vector"
tags: _component_tags & {
output: _output
}
}
source_buffer_max_event_size: {
description: "The maximum number of events the source buffer can hold. The outputs of the source send data to this buffer."
type: "gauge"
default_namespace: "vector"
tags: _component_tags & {
output: _output
}
}
source_buffer_utilization: {
description: "The utilization level of the source buffer. The outputs of the source send data to this buffer."
type: "histogram"
default_namespace: "vector"
tags: _component_tags & {
output: _output
}
}
source_buffer_utilization_level: {
description: "The current utilization level of the source buffer. The outputs of the source send data to this buffer."
type: "gauge"
default_namespace: "vector"
tags: _component_tags & {
output: _output
}
}
source_buffer_utilization_mean: {
description: "The mean utilization level of the source buffer. The outputs of the source send data to this buffer. The mean utilization is smoothed over time using an exponentially weighted moving average (EWMA)."
type: "gauge"
default_namespace: "vector"
tags: _component_tags & {
output: _output
}
}
splunk_pending_acks: {
description: "The number of outstanding Splunk HEC indexer acknowledgement acks."
type: "gauge"
default_namespace: "vector"
tags: _component_tags
}
streams_total: {
description: "The total number of streams."
type: "counter"
default_namespace: "vector"
tags: _component_tags
}
s3_object_processing_failed_duration_seconds: {
description: "The time taken to process an S3 object that failed, in seconds."
type: "histogram"
default_namespace: "vector"
tags: _component_tags & {
bucket: {
description: "The name of the S3 bucket."
required: true
}
}
}
s3_object_processing_succeeded_duration_seconds: {
description: "The time taken to process an S3 object that succeeded, in seconds."
type: "histogram"
default_namespace: "vector"
tags: _component_tags & {
bucket: {
description: "The name of the S3 bucket."
required: true
}
}
}
sqs_message_delete_succeeded_total: {
description: "The total number of successful deletions of SQS messages."
type: "counter"
default_namespace: "vector"
tags: _component_tags
}
sqs_message_processing_succeeded_total: {
description: "The total number of SQS messages successfully processed."
type: "counter"
default_namespace: "vector"
tags: _component_tags
}
sqs_message_receive_succeeded_total: {
description: "The total number of times successfully receiving SQS messages."
type: "counter"
default_namespace: "vector"
tags: _component_tags
}
sqs_message_received_messages_total: {
description: "The total number of received SQS messages."
type: "counter"
default_namespace: "vector"
tags: _component_tags
}
sqs_s3_event_record_ignored_total: {
description: "The total number of times an S3 record in an SQS message was ignored (for an event that was not `ObjectCreated`)."
type: "counter"
default_namespace: "vector"
tags: _component_tags & {
ignore_type: {
description: "The reason for ignoring the S3 record"
required: true
enum: {
"invalid_event_kind": "The kind of invalid event."
}
}
}
}
stale_events_flushed_total: {
description: "The number of stale events that Vector has flushed."
type: "counter"
default_namespace: "vector"
tags: _component_tags
}
stdin_reads_failed_total: {
description: "The total number of errors reading from stdin."
type: "counter"
default_namespace: "vector"
tags: _component_tags
}
tag_value_limit_exceeded_total: {
description: """
The total number of events discarded because the tag has been rejected after
hitting the configured `value_limit`. When `internal_metrics.include_key_in_limit_metric`
is enabled in the `tag_cardinality_limit` transform, this metric includes
`metric_name` and `tag_key` labels. By default, this metric has no labels to
keep cardinality low.
"""
type: "counter"
default_namespace: "vector"
tags: _component_tags & {
metric_name: {
description: """
The name of the metric whose tag value limit was exceeded.
Only present when `internal_metrics.include_key_in_limit_metric` is enabled.
"""
required: false
}
tag_key: {
description: """
The key of the tag whose value limit was exceeded.
Only present when `internal_metrics.include_key_in_limit_metric` is enabled.
"""
required: false
}
}
}
timestamp_parse_errors_total: {
description: "The total number of errors encountered parsing [RFC 3339](\(urls.rfc_3339)) timestamps."
type: "counter"
default_namespace: "vector"
tags: _component_tags
}
transform_buffer_max_event_size: {
description: "The maximum number of events the buffer that feeds into a transform can hold."
type: "gauge"
default_namespace: "vector"
tags: _component_tags & {
output: _output
}
}
transform_buffer_max_byte_size: {
description: "The maximum number of bytes the buffer that feeds into a transform can hold."
type: "gauge"
default_namespace: "vector"
tags: _component_tags & {
output: _output
}
}
transform_buffer_utilization: {
description: "The utilization level of the buffer that feeds into a transform."
type: "histogram"
default_namespace: "vector"
tags: _component_tags & {
output: _output
}
}
transform_buffer_utilization_level: {
description: "The current utilization level of the buffer that feeds into a transform."
type: "gauge"
default_namespace: "vector"
tags: _component_tags & {
output: _output
}
}
transform_buffer_utilization_mean: {
description: "The mean utilization level of the buffer that feeds into a transform. This value is smoothed over time using an exponentially weighted moving average (EWMA)."
type: "gauge"
default_namespace: "vector"
tags: _component_tags & {
output: _output
}
}
uptime_seconds: {
description: "The total number of seconds the Vector instance has been up."
type: "gauge"
default_namespace: "vector"
tags: _internal_metrics_tags
}
utf8_convert_errors_total: {
description: "The total number of errors converting bytes to a UTF-8 string in UDP mode."
type: "counter"
default_namespace: "vector"
tags: _component_tags & {
mode: {
description: "The connection mode used by the component."
required: true
enum: {
udp: "User Datagram Protocol"
}
}
}
}
utilization: {
description: "A ratio from 0 to 1 of the load on a component. A value of 0 would indicate a completely idle component that is simply waiting for input. A value of 1 would indicate a that is never idle. This value is updated every 5 seconds."
type: "gauge"
default_namespace: "vector"
tags: _component_tags
}
build_info: {
description: "Has a fixed value of 1.0. Contains build information such as Rust and Vector versions."
type: "gauge"
default_namespace: "vector"
tags: _internal_metrics_tags & {
debug: {
description: "Whether this is a debug build of Vector"
required: true
}
version: {
description: "Vector version."
required: true
}
rust_version: {
description: "The Rust version from the package manifest."
required: true
}
arch: {
description: "The target architecture being compiled for. (e.g. x86_64)"
required: true
}
revision: {
description: "Revision identifer, related to versioned releases."
required: true
}
}
}
value_limit_reached_total: {
description: """
The total number of times new values for a key have been rejected because the
value limit has been reached.
"""
type: "counter"
default_namespace: "vector"
tags: _component_tags
}
// Windows metrics