Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(kafka): add consumer_lag metrics to Kafka #15106

Merged

Conversation

zamazan4ik
Copy link
Contributor

Resolves #13987

Just added kafka_consumer_lag metric with topic_id and partition_id labels.

- fix a typo in Kafka error code name

Tested:
- No
- add consumer_lag metric to Kafka

Tested:
- Local run with Kafka
@netlify
Copy link

netlify bot commented Nov 4, 2022

Deploy Preview for vrl-playground canceled.

Name Link
🔨 Latest commit acf9671
🔍 Latest deploy log https://app.netlify.com/sites/vrl-playground/deploys/63eec929c04fc500087a347b

@netlify
Copy link

netlify bot commented Nov 4, 2022

Deploy Preview for vector-project ready!

Name Link
🔨 Latest commit acf9671
🔍 Latest deploy log https://app.netlify.com/sites/vector-project/deploys/63eec9291a1bdb0008849b33
😎 Deploy Preview https://deploy-preview-15106--vector-project.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@zamazan4ik
Copy link
Contributor Author

@neuronull I guess you could review it.

@neuronull
Copy link
Contributor

@neuronull I guess you could review it.

Thanks for the contribution!

Added it to the backlog. If I can't get to it today then someone will next week 👍

@zamazan4ik
Copy link
Contributor Author

@bruceg could you review it please?

@zamazan4ik
Copy link
Contributor Author

@neuronull maybe you've enough time today :)

Copy link
Member

@bruceg bruceg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The implementation here looks fine, but I am concerned about the increase in metric cardinality this might cause. Could somebody else weigh in if this is a potential problem or not?

Comment on lines 153 to 157
for (topic_id, topic) in &self.statistics.topics {
for (partition_id, partition) in &topic.partitions {
gauge!("kafka_consumer_lag", partition.consumer_lag as f64, "topic_id" => topic_id.clone(), "partition_id" => partition_id.to_string());
}
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This reads like it could cause quite a large number of new metrics. Is this something we should be making optional, or is it fine here because the number is relatively bounded?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My guess that it should be relatively bounded. I don't think that it'll affect metrics number a lot. So I suggest to leave it as is, without an optional switch.

If users will complain about the metrics number or something like that - we will decide, what should be done here. And yes, one of the ways is to add an additional flag (or something like that).

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Normally you can filter the unused internal metrics with a filter transform. I think this is a really nice to have metric if you use kafka as source, as you don't need to install an extra kafka lag exporter

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Internal metrics can be filtered before exporting them, but they will result in a higher number of metrics needing to be tracked internally.

I agree that it'd be good to let users opt into this. We've already had a few issues resulting from tagging metrics with high cardinality tags which prompted #15426 . We likely need to come up with a more generic way to opt into these extra metrics but for now we could just use a simple boolean flag on the source config.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jszwedko so what is the proposed way to move this PR further? Adding some specific field like enable_lag_metrics: bool to the source/sink config? In this case, we need to update both Kafka source and sink configurations, not just a source configuration.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey! Yeah, I think something like that would be fine. I'd suggest metrics.topic_lag_metric: true|false to group together any metric specific options like this. Does this metric apply to the sink? It seems to only apply to consumers (aka the source).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this metric apply to the sink? It seems to only apply to consumers (aka the source).

I guess it should. Because the same code is reused in the Kafka sink too.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree on making this opt-in given we're adding T x P new metrics, without any knowledge of what those numbers look like for typical users.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

@zamazan4ik
Copy link
Contributor Author

@bruceg @jszwedko friendly reminder :)

@zamazan4ik zamazan4ik requested review from rosilva-85 and bruceg and removed request for bruceg and rosilva-85 December 1, 2022 21:46
@bruceg
Copy link
Member

bruceg commented Dec 14, 2022

@bruceg @jszwedko friendly reminder :)

I believe we were waiting for a configuration setting to opt into these metrics before proceeding. This should also get merged with master to bring in the latest regression test changes.

Comment on lines 153 to 157
for (topic_id, topic) in &self.statistics.topics {
for (partition_id, partition) in &topic.partitions {
gauge!("kafka_consumer_lag", partition.consumer_lag as f64, "topic_id" => topic_id.clone(), "partition_id" => partition_id.to_string());
}
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree on making this opt-in given we're adding T x P new metrics, without any knowledge of what those numbers look like for typical users.

@github-actions github-actions bot added domain: sources Anything related to the Vector's sources domain: sinks Anything related to the Vector's sinks labels Feb 1, 2023
@github-actions github-actions bot added the domain: external docs Anything related to Vector's external, public documentation label Feb 1, 2023
@zamazan4ik zamazan4ik requested review from davidhuie-dd and removed request for bruceg February 1, 2023 07:59
@github-actions
Copy link

github-actions bot commented Feb 1, 2023

Regression Test Results

Run ID: ef5a18d9-45e7-4ee6-9724-4e49c88191f5
Baseline: bd70509
Comparison: e5e84cc
Total vector CPUs: 7

Explanation

A regression test is an integrated performance test for vector in a repeatable rig, with varying configuration for vector. What follows is a statistical summary of a brief vector run for each configuration across SHAs given above. The goal of these tests are to determine, quickly, if vector performance is changed and to what degree by a pull request. Where appropriate units are scaled per-core.

The table below, if present, lists those experiments that have experienced a statistically significant change in their bytes_written_per_cpu_second performance between baseline and comparison SHAs, with 90.0% confidence OR have been detected as newly erratic. Negative values mean that baseline is faster, positive comparison. Results that do not exhibit more than a ±5% change in mean bytes_written_per_cpu_second are discarded. An experiment is erratic if its coefficient of variation is greater than 0.1. The abbreviated table will be omitted if no interesting changes are observed.

No interesting changes in bytes_written_per_cpu_second with confidence ≥ 90.00% and absolute Δ mean >= ±5%.

Fine details of change detection per experiment.
experiment Δ mean Δ mean % confidence baseline mean baseline stdev baseline stderr baseline outlier % baseline CoV comparison mean comparison stdev comparison stderr comparison outlier % comparison CoV erratic declared erratic
syslog_log2metric_humio_metrics 179.45KiB/CPU-s 3.04 100.00% 5.76MiB/CPU-s 388.63KiB/CPU-s 5.02KiB/CPU-s 0.0 0.065913 5.93MiB/CPU-s 210.53KiB/CPU-s 2.72KiB/CPU-s 0.0 0.034652 False False
socket_to_socket_blackhole 258.27KiB/CPU-s 1.91 100.00% 13.21MiB/CPU-s 250.02KiB/CPU-s 3.23KiB/CPU-s 0.0 0.018484 13.46MiB/CPU-s 172.01KiB/CPU-s 2.22KiB/CPU-s 0.0 0.012479 False False
datadog_agent_remap_datadog_logs_acks 306.9KiB/CPU-s 0.89 100.00% 33.71MiB/CPU-s 1.08MiB/CPU-s 14.26KiB/CPU-s 0.0 0.032023 34.01MiB/CPU-s 779.59KiB/CPU-s 10.06KiB/CPU-s 0.0 0.022381 False False
splunk_hec_route_s3 105.46KiB/CPU-s 0.88 100.00% 11.67MiB/CPU-s 548.98KiB/CPU-s 7.08KiB/CPU-s 0.0 0.04594 11.77MiB/CPU-s 533.42KiB/CPU-s 6.88KiB/CPU-s 0.0 0.044248 False False
datadog_agent_remap_blackhole_acks 243.01KiB/CPU-s 0.76 100.00% 31.08MiB/CPU-s 784.4KiB/CPU-s 10.13KiB/CPU-s 0.0 0.024641 31.32MiB/CPU-s 870.99KiB/CPU-s 11.25KiB/CPU-s 0.0 0.027153 False False
datadog_agent_remap_datadog_logs 201.19KiB/CPU-s 0.58 100.00% 34.13MiB/CPU-s 1.22MiB/CPU-s 16.11KiB/CPU-s 0.0 0.035736 34.33MiB/CPU-s 1.18MiB/CPU-s 15.63KiB/CPU-s 0.0 0.034473 False False
syslog_regex_logs2metric_ddmetrics 20.35KiB/CPU-s 0.55 99.68% 3.64MiB/CPU-s 370.76KiB/CPU-s 4.79KiB/CPU-s 0.0 0.099397 3.66MiB/CPU-s 386.05KiB/CPU-s 4.98KiB/CPU-s 0.0 0.102936 True False
syslog_log2metric_splunk_hec_metrics 50.68KiB/CPU-s 0.53 100.00% 9.25MiB/CPU-s 217.75KiB/CPU-s 2.81KiB/CPU-s 0.0 0.022976 9.3MiB/CPU-s 311.27KiB/CPU-s 4.02KiB/CPU-s 0.0 0.03267 False False
otlp_grpc_to_blackhole 5.32KiB/CPU-s 0.5 100.00% 1.03MiB/CPU-s 39.56KiB/CPU-s 522.94B/CPU-s 0.0 0.037518 1.03MiB/CPU-s 51.71KiB/CPU-s 683.18B/CPU-s 0.0 0.048793 False False
http_text_to_http_json 111.47KiB/CPU-s 0.44 100.00% 24.71MiB/CPU-s 755.73KiB/CPU-s 9.76KiB/CPU-s 0.0 0.02987 24.81MiB/CPU-s 733.7KiB/CPU-s 9.47KiB/CPU-s 0.0 0.028872 False False
enterprise_http_to_http 8.04KiB/CPU-s 0.06 95.02% 13.62MiB/CPU-s 280.37KiB/CPU-s 3.62KiB/CPU-s 0.0 0.020107 13.62MiB/CPU-s 148.62KiB/CPU-s 1.92KiB/CPU-s 0.0 0.010652 False False
syslog_humio_logs 5.99KiB/CPU-s 0.06 95.50% 9.06MiB/CPU-s 179.33KiB/CPU-s 2.32KiB/CPU-s 0.0 0.01933 9.07MiB/CPU-s 146.34KiB/CPU-s 1.89KiB/CPU-s 0.0 0.015764 False False
splunk_hec_to_splunk_hec_logs_noack 6.88KiB/CPU-s 0.05 91.39% 13.62MiB/CPU-s 245.29KiB/CPU-s 3.17KiB/CPU-s 0.0 0.017588 13.63MiB/CPU-s 190.78KiB/CPU-s 2.46KiB/CPU-s 0.0 0.013672 False False
http_to_http_noack 2.2KiB/CPU-s 0.02 29.32% 13.61MiB/CPU-s 333.15KiB/CPU-s 4.3KiB/CPU-s 0.0 0.0239 13.61MiB/CPU-s 306.66KiB/CPU-s 3.96KiB/CPU-s 0.0 0.021996 False False
splunk_hec_to_splunk_hec_logs_acks 1.24KiB/CPU-s 0.01 15.21% 13.62MiB/CPU-s 361.48KiB/CPU-s 4.66KiB/CPU-s 0.0 0.025925 13.62MiB/CPU-s 346.26KiB/CPU-s 4.47KiB/CPU-s 0.0 0.024831 False False
http_to_http_json -283.41B/CPU-s -0.0 5.76% 13.62MiB/CPU-s 210.13KiB/CPU-s 2.71KiB/CPU-s 0.0 0.015063 13.62MiB/CPU-s 209.43KiB/CPU-s 2.7KiB/CPU-s 0.0 0.015012 False False
fluent_elasticsearch 219.2B/CPU-s 0.0 30.55% 45.41MiB/CPU-s 30.02KiB/CPU-s 392.5B/CPU-s 0.0 0.000646 45.41MiB/CPU-s 30.35KiB/CPU-s 396.75B/CPU-s 0.0 0.000653 False False
file_to_blackhole 374.81B/CPU-s 0.0 1.42% 54.49MiB/CPU-s 1.09MiB/CPU-s 14.42KiB/CPU-s 0.0 0.020025 54.49MiB/CPU-s 1.11MiB/CPU-s 14.65KiB/CPU-s 0.0 0.020362 False False
splunk_hec_indexer_ack_blackhole -1.2KiB/CPU-s -0.01 20.84% 13.62MiB/CPU-s 247.63KiB/CPU-s 3.19KiB/CPU-s 0.0 0.017756 13.62MiB/CPU-s 252.29KiB/CPU-s 3.25KiB/CPU-s 0.0 0.018092 False False
otlp_http_to_blackhole -4.08KiB/CPU-s -0.26 94.04% 1.53MiB/CPU-s 114.31KiB/CPU-s 1.48KiB/CPU-s 0.0 0.072857 1.53MiB/CPU-s 122.65KiB/CPU-s 1.58KiB/CPU-s 0.0 0.078374 False False
syslog_loki -56.63KiB/CPU-s -0.63 100.00% 8.81MiB/CPU-s 203.13KiB/CPU-s 2.62KiB/CPU-s 0.0 0.022523 8.75MiB/CPU-s 145.04KiB/CPU-s 1.87KiB/CPU-s 0.0 0.016184 False False
datadog_agent_remap_blackhole -295.8KiB/CPU-s -0.93 100.00% 30.94MiB/CPU-s 917.32KiB/CPU-s 11.84KiB/CPU-s 0.0 0.02895 30.65MiB/CPU-s 1001.89KiB/CPU-s 12.93KiB/CPU-s 0.0 0.031917 False False
http_to_http_acks -54.16KiB/CPU-s -1.0 70.15% 5.31MiB/CPU-s 2.8MiB/CPU-s 37.01KiB/CPU-s 0.0 0.527784 5.25MiB/CPU-s 2.77MiB/CPU-s 36.66KiB/CPU-s 0.0 0.52787 True False
syslog_splunk_hec_logs -107.51KiB/CPU-s -1.16 100.00% 9.01MiB/CPU-s 231.56KiB/CPU-s 2.99KiB/CPU-s 0.0 0.025089 8.91MiB/CPU-s 219.77KiB/CPU-s 2.84KiB/CPU-s 0.0 0.024092 False False

@github-actions
Copy link

github-actions bot commented Feb 1, 2023

Regression Test Results

Run ID: 4421f2c2-f890-4c1b-8d26-188383ea5ff6
Baseline: bd70509
Comparison: 2e53d5e
Total vector CPUs: 7

Explanation

A regression test is an integrated performance test for vector in a repeatable rig, with varying configuration for vector. What follows is a statistical summary of a brief vector run for each configuration across SHAs given above. The goal of these tests are to determine, quickly, if vector performance is changed and to what degree by a pull request. Where appropriate units are scaled per-core.

The table below, if present, lists those experiments that have experienced a statistically significant change in their bytes_written_per_cpu_second performance between baseline and comparison SHAs, with 90.0% confidence OR have been detected as newly erratic. Negative values mean that baseline is faster, positive comparison. Results that do not exhibit more than a ±5% change in mean bytes_written_per_cpu_second are discarded. An experiment is erratic if its coefficient of variation is greater than 0.1. The abbreviated table will be omitted if no interesting changes are observed.

Changes in bytes_written_per_cpu_second with confidence ≥ 90.00% and absolute Δ mean >= ±5%:

experiment Δ mean Δ mean % confidence
http_to_http_noack -1.13MiB/CPU-s -8.3 100.00%
Fine details of change detection per experiment.
experiment Δ mean Δ mean % confidence baseline mean baseline stdev baseline stderr baseline outlier % baseline CoV comparison mean comparison stdev comparison stderr comparison outlier % comparison CoV erratic declared erratic
splunk_hec_route_s3 192.68KiB/CPU-s 1.62 100.00% 11.6MiB/CPU-s 597.28KiB/CPU-s 7.7KiB/CPU-s 0.0 0.050266 11.79MiB/CPU-s 543.21KiB/CPU-s 7.01KiB/CPU-s 0.0 0.044986 False False
http_text_to_http_json 362.59KiB/CPU-s 1.43 100.00% 24.7MiB/CPU-s 578.92KiB/CPU-s 7.47KiB/CPU-s 0.0 0.022883 25.06MiB/CPU-s 567.66KiB/CPU-s 7.32KiB/CPU-s 0.0 0.022121 False False
otlp_http_to_blackhole 19.89KiB/CPU-s 1.27 100.00% 1.53MiB/CPU-s 111.29KiB/CPU-s 1.44KiB/CPU-s 0.0 0.071177 1.55MiB/CPU-s 113.0KiB/CPU-s 1.46KiB/CPU-s 0.0 0.071363 False False
syslog_humio_logs 105.58KiB/CPU-s 1.14 100.00% 9.0MiB/CPU-s 264.83KiB/CPU-s 3.42KiB/CPU-s 0.0 0.028718 9.11MiB/CPU-s 142.27KiB/CPU-s 1.84KiB/CPU-s 0.0 0.015253 False False
socket_to_socket_blackhole 119.56KiB/CPU-s 0.88 100.00% 13.23MiB/CPU-s 273.0KiB/CPU-s 3.52KiB/CPU-s 0.0 0.020148 13.35MiB/CPU-s 184.96KiB/CPU-s 2.39KiB/CPU-s 0.0 0.013531 False False
syslog_log2metric_humio_metrics 49.93KiB/CPU-s 0.83 100.00% 5.9MiB/CPU-s 236.69KiB/CPU-s 3.06KiB/CPU-s 0.0 0.039167 5.95MiB/CPU-s 184.65KiB/CPU-s 2.38KiB/CPU-s 0.0 0.030304 False False
syslog_splunk_hec_logs 60.49KiB/CPU-s 0.66 100.00% 8.91MiB/CPU-s 191.84KiB/CPU-s 2.48KiB/CPU-s 0.0 0.021033 8.97MiB/CPU-s 282.52KiB/CPU-s 3.65KiB/CPU-s 0.0 0.030772 False False
datadog_agent_remap_blackhole_acks 101.53KiB/CPU-s 0.32 100.00% 31.32MiB/CPU-s 807.91KiB/CPU-s 11.0KiB/CPU-s 0.0 0.025187 31.42MiB/CPU-s 841.89KiB/CPU-s 10.87KiB/CPU-s 0.0 0.026164 False False
datadog_agent_remap_blackhole 96.72KiB/CPU-s 0.3 100.00% 31.43MiB/CPU-s 1014.19KiB/CPU-s 13.09KiB/CPU-s 0.0 0.031513 31.52MiB/CPU-s 793.48KiB/CPU-s 10.79KiB/CPU-s 0.0 0.024581 False False
datadog_agent_remap_datadog_logs_acks 85.18KiB/CPU-s 0.25 99.99% 33.26MiB/CPU-s 1.21MiB/CPU-s 15.98KiB/CPU-s 0.0 0.036359 33.35MiB/CPU-s 1.12MiB/CPU-s 14.84KiB/CPU-s 0.0 0.033663 False False
syslog_regex_logs2metric_ddmetrics 4.24KiB/CPU-s 0.11 44.01% 3.66MiB/CPU-s 393.84KiB/CPU-s 5.08KiB/CPU-s 0.0 0.105059 3.66MiB/CPU-s 403.41KiB/CPU-s 5.21KiB/CPU-s 0.0 0.107489 True False
datadog_agent_remap_datadog_logs 28.79KiB/CPU-s 0.08 80.56% 34.43MiB/CPU-s 1.25MiB/CPU-s 16.46KiB/CPU-s 0.0 0.036188 34.46MiB/CPU-s 1.13MiB/CPU-s 14.87KiB/CPU-s 0.0 0.032672 False False
splunk_hec_to_splunk_hec_logs_noack 6.56KiB/CPU-s 0.05 90.03% 13.62MiB/CPU-s 242.57KiB/CPU-s 3.13KiB/CPU-s 0.0 0.017393 13.62MiB/CPU-s 190.67KiB/CPU-s 2.46KiB/CPU-s 0.0 0.013665 False False
splunk_hec_to_splunk_hec_logs_acks 731.41B/CPU-s 0.01 8.64% 13.62MiB/CPU-s 366.27KiB/CPU-s 4.72KiB/CPU-s 0.0 0.026269 13.62MiB/CPU-s 355.3KiB/CPU-s 4.58KiB/CPU-s 0.0 0.025481 False False
fluent_elasticsearch -84.94B/CPU-s -0.0 12.15% 45.41MiB/CPU-s 30.07KiB/CPU-s 392.95B/CPU-s 0.0 0.000647 45.41MiB/CPU-s 30.05KiB/CPU-s 392.74B/CPU-s 0.0 0.000646 False False
splunk_hec_indexer_ack_blackhole -245.69B/CPU-s -0.0 4.35% 13.62MiB/CPU-s 239.13KiB/CPU-s 3.09KiB/CPU-s 0.0 0.017145 13.62MiB/CPU-s 243.43KiB/CPU-s 3.14KiB/CPU-s 0.0 0.017454 False False
enterprise_http_to_http -182.73B/CPU-s -0.0 4.10% 13.62MiB/CPU-s 189.6KiB/CPU-s 2.45KiB/CPU-s 0.0 0.013591 13.62MiB/CPU-s 190.27KiB/CPU-s 2.46KiB/CPU-s 0.0 0.01364 False False
file_to_blackhole -10.92KiB/CPU-s -0.02 39.92% 54.5MiB/CPU-s 1.1MiB/CPU-s 14.6KiB/CPU-s 0.0 0.020275 54.48MiB/CPU-s 1.13MiB/CPU-s 14.92KiB/CPU-s 0.0 0.020749 False False
syslog_loki -13.49KiB/CPU-s -0.15 99.95% 8.77MiB/CPU-s 235.44KiB/CPU-s 3.04KiB/CPU-s 0.0 0.026205 8.76MiB/CPU-s 188.68KiB/CPU-s 2.44KiB/CPU-s 0.0 0.021032 False False
http_to_http_json -25.51KiB/CPU-s -0.18 100.00% 13.62MiB/CPU-s 211.13KiB/CPU-s 2.72KiB/CPU-s 0.0 0.015134 13.6MiB/CPU-s 259.49KiB/CPU-s 3.35KiB/CPU-s 0.0 0.018635 False False
http_to_http_acks -30.05KiB/CPU-s -0.56 44.55% 5.26MiB/CPU-s 2.74MiB/CPU-s 36.22KiB/CPU-s 0.0 0.521242 5.23MiB/CPU-s 2.7MiB/CPU-s 35.67KiB/CPU-s 0.0 0.516083 True False
syslog_log2metric_splunk_hec_metrics -85.82KiB/CPU-s -0.9 100.00% 9.29MiB/CPU-s 248.57KiB/CPU-s 3.21KiB/CPU-s 0.0 0.026114 9.21MiB/CPU-s 366.84KiB/CPU-s 4.74KiB/CPU-s 0.0 0.03889 False False
otlp_grpc_to_blackhole -11.58KiB/CPU-s -1.09 100.00% 1.04MiB/CPU-s 42.32KiB/CPU-s 559.3B/CPU-s 0.0 0.039706 1.03MiB/CPU-s 56.97KiB/CPU-s 752.65B/CPU-s 0.0 0.054042 False False
http_to_http_noack -1.13MiB/CPU-s -8.3 100.00% 13.62MiB/CPU-s 284.62KiB/CPU-s 3.67KiB/CPU-s 0.0 0.020412 12.49MiB/CPU-s 3.4MiB/CPU-s 44.97KiB/CPU-s 0.0 0.272545 True False

@zamazan4ik
Copy link
Contributor Author

@davidhuie-dd Friendly reminder :)

#[configurable_component]
#[derive(Clone, Debug, Default)]
struct Metrics {
/// Expose topic lag metrics.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add information about the new metrics we'll be creating here? Names, tags, types, when this should be used, etc.

Just by looking at the docs, it's hard to tell what the flag does.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, we definitely can and should. Could you please suggest to me the right place for placing the information about these metrics? I guess it should be somewhere in kafka source CUE file near metrics section, but I am not sure.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You would add an entry here: https://github.com/vectordotdev/vector/blob/master/website/cue/reference/components/sources/kafka.cue#L110

Then you would add specific info about the metric here (this is what the reference above is for): https://github.com/vectordotdev/vector/blob/master/website/cue/reference/components/sources/internal_metrics.cue#L618

Then, we should also mention inline here (after the ///) the names of the metrics that are created as a result of enabling the flag.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

@github-actions
Copy link

github-actions bot commented Feb 8, 2023

Regression Test Results

Run ID: e8e68ae9-33dc-480a-b126-10c6fa6c9d5b
Baseline: 791559e
Comparison: 3d250be
Total vector CPUs: 7

Explanation

A regression test is an integrated performance test for vector in a repeatable rig, with varying configuration for vector. What follows is a statistical summary of a brief vector run for each configuration across SHAs given above. The goal of these tests are to determine, quickly, if vector performance is changed and to what degree by a pull request. Where appropriate units are scaled per-core.

The table below, if present, lists those experiments that have experienced a statistically significant change in their bytes_written_per_cpu_second performance between baseline and comparison SHAs, with 90.0% confidence OR have been detected as newly erratic. Negative values mean that baseline is faster, positive comparison. Results that do not exhibit more than a ±5% change in mean bytes_written_per_cpu_second are discarded. An experiment is erratic if its coefficient of variation is greater than 0.1. The abbreviated table will be omitted if no interesting changes are observed.

Changes in bytes_written_per_cpu_second with confidence ≥ 90.00% and absolute Δ mean >= ±5%:

experiment Δ mean Δ mean % confidence
datadog_agent_remap_blackhole 1.47MiB/CPU-s 5.07 100.00%
Fine details of change detection per experiment.
experiment Δ mean Δ mean % confidence baseline mean baseline stdev baseline stderr baseline outlier % baseline CoV comparison mean comparison stdev comparison stderr comparison outlier % comparison CoV erratic declared erratic
datadog_agent_remap_blackhole 1.47MiB/CPU-s 5.07 100.00% 28.9MiB/CPU-s 2.32MiB/CPU-s 30.67KiB/CPU-s 0.0 0.08029 30.36MiB/CPU-s 1.36MiB/CPU-s 18.03KiB/CPU-s 0.0 0.04492 False False
syslog_log2metric_splunk_hec_metrics 257.3KiB/CPU-s 2.85 100.00% 8.81MiB/CPU-s 397.9KiB/CPU-s 5.14KiB/CPU-s 0.0 0.044102 9.06MiB/CPU-s 471.46KiB/CPU-s 6.09KiB/CPU-s 0.0 0.050807 False False
splunk_hec_route_s3 302.25KiB/CPU-s 2.59 100.00% 11.39MiB/CPU-s 644.48KiB/CPU-s 8.31KiB/CPU-s 0.0 0.055255 11.68MiB/CPU-s 604.56KiB/CPU-s 7.8KiB/CPU-s 0.0 0.050523 False False
socket_to_socket_blackhole 113.92KiB/CPU-s 0.85 100.00% 13.16MiB/CPU-s 513.52KiB/CPU-s 6.63KiB/CPU-s 0.0 0.038098 13.27MiB/CPU-s 354.87KiB/CPU-s 4.58KiB/CPU-s 0.0 0.026107 False False
http_text_to_http_json 131.02KiB/CPU-s 0.51 100.00% 24.86MiB/CPU-s 605.88KiB/CPU-s 7.82KiB/CPU-s 0.0 0.023796 24.99MiB/CPU-s 685.43KiB/CPU-s 8.84KiB/CPU-s 0.0 0.026783 False False
datadog_agent_remap_blackhole_acks 88.96KiB/CPU-s 0.28 100.00% 30.55MiB/CPU-s 970.65KiB/CPU-s 12.53KiB/CPU-s 0.0 0.031029 30.63MiB/CPU-s 1.16MiB/CPU-s 15.35KiB/CPU-s 0.0 0.037899 False False
datadog_agent_remap_datadog_logs 85.54KiB/CPU-s 0.25 99.96% 33.52MiB/CPU-s 1.23MiB/CPU-s 16.31KiB/CPU-s 0.0 0.036823 33.6MiB/CPU-s 1.33MiB/CPU-s 17.52KiB/CPU-s 0.0 0.039477 False False
http_to_http_json 7.64KiB/CPU-s 0.05 93.90% 13.61MiB/CPU-s 235.46KiB/CPU-s 3.04KiB/CPU-s 0.0 0.016888 13.62MiB/CPU-s 210.91KiB/CPU-s 2.72KiB/CPU-s 0.0 0.015119 False False
enterprise_http_to_http 6.01KiB/CPU-s 0.04 88.94% 13.62MiB/CPU-s 250.49KiB/CPU-s 3.23KiB/CPU-s 0.0 0.017961 13.62MiB/CPU-s 149.28KiB/CPU-s 1.93KiB/CPU-s 0.0 0.010699 False False
splunk_hec_to_splunk_hec_logs_noack 5.61KiB/CPU-s 0.04 85.29% 13.62MiB/CPU-s 231.03KiB/CPU-s 2.98KiB/CPU-s 0.0 0.016564 13.62MiB/CPU-s 190.78KiB/CPU-s 2.46KiB/CPU-s 0.0 0.013673 False False
file_to_blackhole 13.93KiB/CPU-s 0.02 44.70% 54.48MiB/CPU-s 1.32MiB/CPU-s 17.48KiB/CPU-s 0.0 0.024294 54.49MiB/CPU-s 1.19MiB/CPU-s 15.68KiB/CPU-s 0.0 0.021788 False False
fluent_elasticsearch 127.29B/CPU-s 0.0 18.17% 45.41MiB/CPU-s 29.82KiB/CPU-s 389.49B/CPU-s 0.0 0.000641 45.41MiB/CPU-s 30.18KiB/CPU-s 394.25B/CPU-s 0.0 0.000649 False False
splunk_hec_indexer_ack_blackhole 668.09B/CPU-s 0.0 11.23% 13.62MiB/CPU-s 254.83KiB/CPU-s 3.29KiB/CPU-s 0.0 0.018276 13.62MiB/CPU-s 251.69KiB/CPU-s 3.25KiB/CPU-s 0.0 0.01805 False False
http_to_http_noack -2.4KiB/CPU-s -0.02 32.59% 13.61MiB/CPU-s 297.44KiB/CPU-s 3.84KiB/CPU-s 0.0 0.021334 13.61MiB/CPU-s 327.46KiB/CPU-s 4.23KiB/CPU-s 0.0 0.023491 False False
splunk_hec_to_splunk_hec_logs_acks -3.04KiB/CPU-s -0.02 35.12% 13.62MiB/CPU-s 360.01KiB/CPU-s 4.65KiB/CPU-s 0.0 0.025816 13.61MiB/CPU-s 371.31KiB/CPU-s 4.79KiB/CPU-s 0.0 0.026632 False False
otlp_http_to_blackhole -2.63KiB/CPU-s -0.17 74.46% 1.51MiB/CPU-s 121.0KiB/CPU-s 1.56KiB/CPU-s 0.0 0.078167 1.51MiB/CPU-s 132.57KiB/CPU-s 1.71KiB/CPU-s 0.0 0.085788 False False
syslog_humio_logs -22.63KiB/CPU-s -0.25 99.97% 8.91MiB/CPU-s 386.71KiB/CPU-s 4.99KiB/CPU-s 0.0 0.042387 8.89MiB/CPU-s 291.47KiB/CPU-s 3.76KiB/CPU-s 0.0 0.032027 False False
datadog_agent_remap_datadog_logs_acks -111.64KiB/CPU-s -0.33 100.00% 33.21MiB/CPU-s 1.37MiB/CPU-s 18.1KiB/CPU-s 0.0 0.041256 33.1MiB/CPU-s 1.49MiB/CPU-s 19.68KiB/CPU-s 0.0 0.044961 False False
syslog_loki -37.03KiB/CPU-s -0.41 100.00% 8.75MiB/CPU-s 287.54KiB/CPU-s 3.71KiB/CPU-s 0.0 0.032074 8.72MiB/CPU-s 330.25KiB/CPU-s 4.26KiB/CPU-s 0.0 0.036991 False False
otlp_grpc_to_blackhole -5.01KiB/CPU-s -0.47 100.00% 1.03MiB/CPU-s 40.86KiB/CPU-s 540.18B/CPU-s 0.0 0.038671 1.03MiB/CPU-s 63.55KiB/CPU-s 839.49B/CPU-s 0.0 0.060427 False False
syslog_splunk_hec_logs -92.54KiB/CPU-s -1.02 100.00% 8.86MiB/CPU-s 333.13KiB/CPU-s 4.3KiB/CPU-s 0.0 0.036711 8.77MiB/CPU-s 354.77KiB/CPU-s 4.58KiB/CPU-s 0.0 0.039499 False False
syslog_regex_logs2metric_ddmetrics -94.73KiB/CPU-s -2.59 100.00% 3.57MiB/CPU-s 489.58KiB/CPU-s 6.32KiB/CPU-s 0.0 0.133817 3.48MiB/CPU-s 505.26KiB/CPU-s 6.52KiB/CPU-s 0.0 0.141771 True False
http_to_http_acks -148.76KiB/CPU-s -2.74 99.63% 5.3MiB/CPU-s 2.76MiB/CPU-s 36.46KiB/CPU-s 0.0 0.520358 5.16MiB/CPU-s 2.72MiB/CPU-s 36.0KiB/CPU-s 0.0 0.528328 True False
syslog_log2metric_humio_metrics -209.07KiB/CPU-s -3.47 100.00% 5.89MiB/CPU-s 262.32KiB/CPU-s 3.39KiB/CPU-s 0.0 0.043512 5.68MiB/CPU-s 204.78KiB/CPU-s 2.64KiB/CPU-s 0.0 0.035188 False False

@davidhuie-dd davidhuie-dd enabled auto-merge (squash) February 9, 2023 19:15
#[configurable_component]
#[derive(Clone, Debug, Default)]
struct Metrics {
/// Expose topic lag metrics (`kafka_consumer_lag`).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we also say that it's for every topic and partition? This description still seems a bit opaque.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rephrased a little bit :)

@github-actions
Copy link

Regression Test Results

Run ID: 42464567-058d-4f20-8c32-53caa9d7c1b1
Baseline: 5317e45
Comparison: ba15c98
Total vector CPUs: 7

Explanation

A regression test is an integrated performance test for vector in a repeatable rig, with varying configuration for vector. What follows is a statistical summary of a brief vector run for each configuration across SHAs given above. The goal of these tests are to determine, quickly, if vector performance is changed and to what degree by a pull request. Where appropriate units are scaled per-core.

The table below, if present, lists those experiments that have experienced a statistically significant change in their bytes_written_per_cpu_second performance between baseline and comparison SHAs, with 90.0% confidence OR have been detected as newly erratic. Negative values mean that baseline is faster, positive comparison. Results that do not exhibit more than a ±5% change in mean bytes_written_per_cpu_second are discarded. An experiment is erratic if its coefficient of variation is greater than 0.1. The abbreviated table will be omitted if no interesting changes are observed.

Changes in bytes_written_per_cpu_second with confidence ≥ 90.00% and absolute Δ mean >= ±5%:

experiment Δ mean Δ mean % confidence
http_text_to_http_json 1.54MiB/CPU-s 6.51 100.00%
Fine details of change detection per experiment.
experiment Δ mean Δ mean % confidence baseline mean baseline stdev baseline stderr baseline outlier % baseline CoV comparison mean comparison stdev comparison stderr comparison outlier % comparison CoV erratic declared erratic
http_text_to_http_json 1.54MiB/CPU-s 6.51 100.00% 23.67MiB/CPU-s 567.73KiB/CPU-s 7.33KiB/CPU-s 0.0 0.023424 25.21MiB/CPU-s 629.11KiB/CPU-s 8.12KiB/CPU-s 0.0 0.024371 False False
otlp_grpc_to_blackhole 15.71KiB/CPU-s 1.51 100.00% 1.01MiB/CPU-s 44.98KiB/CPU-s 594.57B/CPU-s 0.0 0.043372 1.03MiB/CPU-s 54.15KiB/CPU-s 715.39B/CPU-s 0.0 0.051429 False False
syslog_log2metric_humio_metrics 87.44KiB/CPU-s 1.46 100.00% 5.85MiB/CPU-s 205.62KiB/CPU-s 2.65KiB/CPU-s 0.0 0.034308 5.94MiB/CPU-s 219.46KiB/CPU-s 2.83KiB/CPU-s 0.0 0.036091 False False
syslog_splunk_hec_logs 131.99KiB/CPU-s 1.44 100.00% 8.94MiB/CPU-s 157.61KiB/CPU-s 2.03KiB/CPU-s 0.0 0.017211 9.07MiB/CPU-s 168.92KiB/CPU-s 2.18KiB/CPU-s 0.0 0.018183 False False
socket_to_socket_blackhole 183.84KiB/CPU-s 1.36 100.00% 13.2MiB/CPU-s 270.79KiB/CPU-s 3.5KiB/CPU-s 0.0 0.020025 13.38MiB/CPU-s 173.62KiB/CPU-s 2.24KiB/CPU-s 0.0 0.012667 False False
splunk_hec_route_s3 134.96KiB/CPU-s 1.14 100.00% 11.57MiB/CPU-s 527.91KiB/CPU-s 6.81KiB/CPU-s 0.0 0.044545 11.7MiB/CPU-s 553.99KiB/CPU-s 7.15KiB/CPU-s 0.0 0.046219 False False
datadog_agent_remap_datadog_logs_acks 341.38KiB/CPU-s 1.01 100.00% 32.98MiB/CPU-s 1.41MiB/CPU-s 18.61KiB/CPU-s 0.0 0.04271 33.31MiB/CPU-s 1.66MiB/CPU-s 21.89KiB/CPU-s 0.0 0.049716 False False
syslog_regex_logs2metric_ddmetrics 32.68KiB/CPU-s 0.87 100.00% 3.67MiB/CPU-s 371.89KiB/CPU-s 4.8KiB/CPU-s 0.0 0.099083 3.7MiB/CPU-s 400.04KiB/CPU-s 5.16KiB/CPU-s 0.0 0.105665 True False
syslog_loki 72.34KiB/CPU-s 0.81 100.00% 8.68MiB/CPU-s 242.14KiB/CPU-s 3.12KiB/CPU-s 0.0 0.027241 8.75MiB/CPU-s 185.24KiB/CPU-s 2.39KiB/CPU-s 0.0 0.020671 False False
syslog_humio_logs 72.83KiB/CPU-s 0.79 100.00% 8.98MiB/CPU-s 210.8KiB/CPU-s 2.72KiB/CPU-s 0.0 0.022914 9.05MiB/CPU-s 173.21KiB/CPU-s 2.24KiB/CPU-s 0.0 0.018681 False False
otlp_http_to_blackhole 6.54KiB/CPU-s 0.42 99.81% 1.53MiB/CPU-s 113.28KiB/CPU-s 1.46KiB/CPU-s 0.0 0.072222 1.54MiB/CPU-s 117.2KiB/CPU-s 1.51KiB/CPU-s 0.0 0.074409 False False
datadog_agent_remap_datadog_logs 130.36KiB/CPU-s 0.38 100.00% 33.85MiB/CPU-s 1.24MiB/CPU-s 16.32KiB/CPU-s 0.0 0.036507 33.98MiB/CPU-s 1.2MiB/CPU-s 15.79KiB/CPU-s 0.0 0.035177 False False
enterprise_http_to_http 14.47KiB/CPU-s 0.1 99.62% 13.61MiB/CPU-s 356.75KiB/CPU-s 4.6KiB/CPU-s 0.0 0.025596 13.62MiB/CPU-s 150.47KiB/CPU-s 1.94KiB/CPU-s 0.0 0.010785 False False
http_to_http_acks 2.65KiB/CPU-s 0.05 4.09% 5.3MiB/CPU-s 2.77MiB/CPU-s 36.55KiB/CPU-s 0.0 0.521584 5.31MiB/CPU-s 2.77MiB/CPU-s 36.61KiB/CPU-s 0.0 0.522173 True False
splunk_hec_to_splunk_hec_logs_noack 3.09KiB/CPU-s 0.02 58.93% 13.62MiB/CPU-s 219.89KiB/CPU-s 2.84KiB/CPU-s 0.0 0.015762 13.63MiB/CPU-s 190.9KiB/CPU-s 2.46KiB/CPU-s 0.0 0.013682 False False
http_to_http_json -16.5B/CPU-s -0.0 0.33% 13.62MiB/CPU-s 212.07KiB/CPU-s 2.74KiB/CPU-s 0.0 0.015202 13.62MiB/CPU-s 211.36KiB/CPU-s 2.73KiB/CPU-s 0.0 0.015151 False False
splunk_hec_indexer_ack_blackhole 71.44B/CPU-s 0.0 1.24% 13.62MiB/CPU-s 247.1KiB/CPU-s 3.19KiB/CPU-s 0.0 0.017718 13.62MiB/CPU-s 245.51KiB/CPU-s 3.17KiB/CPU-s 0.0 0.017605 False False
fluent_elasticsearch -583.75B/CPU-s -0.0 70.86% 45.41MiB/CPU-s 29.93KiB/CPU-s 391.08B/CPU-s 0.0 0.000644 45.41MiB/CPU-s 29.95KiB/CPU-s 391.41B/CPU-s 0.0 0.000644 False False
splunk_hec_to_splunk_hec_logs_acks -1.64KiB/CPU-s -0.01 19.22% 13.62MiB/CPU-s 378.79KiB/CPU-s 4.89KiB/CPU-s 0.0 0.027164 13.61MiB/CPU-s 362.04KiB/CPU-s 4.67KiB/CPU-s 0.0 0.025966 False False
file_to_blackhole -8.7KiB/CPU-s -0.02 32.07% 54.49MiB/CPU-s 1.09MiB/CPU-s 14.41KiB/CPU-s 0.0 0.020024 54.48MiB/CPU-s 1.16MiB/CPU-s 15.34KiB/CPU-s 0.0 0.021335 False False
http_to_http_noack -4.03KiB/CPU-s -0.03 52.32% 13.62MiB/CPU-s 285.89KiB/CPU-s 3.69KiB/CPU-s 0.0 0.020503 13.61MiB/CPU-s 332.49KiB/CPU-s 4.29KiB/CPU-s 0.0 0.023852 False False
datadog_agent_remap_blackhole_acks -86.04KiB/CPU-s -0.27 100.00% 30.87MiB/CPU-s 936.54KiB/CPU-s 12.09KiB/CPU-s 0.0 0.029622 30.79MiB/CPU-s 1.12MiB/CPU-s 14.81KiB/CPU-s 0.0 0.036384 False False
syslog_log2metric_splunk_hec_metrics -76.06KiB/CPU-s -0.82 100.00% 9.09MiB/CPU-s 309.54KiB/CPU-s 4.0KiB/CPU-s 0.0 0.033254 9.02MiB/CPU-s 280.03KiB/CPU-s 3.62KiB/CPU-s 0.0 0.030332 False False
datadog_agent_remap_blackhole -426.43KiB/CPU-s -1.34 100.00% 31.19MiB/CPU-s 990.97KiB/CPU-s 12.8KiB/CPU-s 0.0 0.031026 30.77MiB/CPU-s 982.44KiB/CPU-s 12.68KiB/CPU-s 0.0 0.031175 False False

#[derive(Clone, Debug, Default)]
struct Metrics {
/// Expose topic lag metrics for all topics and partitions. The metric name is `kafka_consumer_lag`.
pub topic_lag_metric: bool,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: should this be plural since there will often be many metrics generated from this flag?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

@zamazan4ik zamazan4ik requested a review from a team as a code owner February 17, 2023 00:24
@zamazan4ik zamazan4ik requested review from a team and davidhuie-dd February 17, 2023 00:24
@github-actions
Copy link

Regression Detector Results

Run ID: 3a4881a3-5544-47ac-8c39-4b8446581a3b
Baseline: 6d43f48
Comparison: acf9671
Total vector CPUs: 7

Explanation

A regression test is an integrated performance test for vector in a repeatable rig, with varying configuration for vector. What follows is a statistical summary of a brief vector run for each configuration across SHAs given above. The goal of these tests are to determine quickly if vector performance is changed and to what degree by a pull request.

The table below, if present, lists those experiments that have experienced a statistically significant change in mean optimization goal performance between baseline and comparison SHAs with 90.00% confidence OR have been detected as newly erratic. Negative values mean that baseline is faster, positive comparison. Results that do not exhibit more than a ±5.00% change in their mean optimization goal are discarded. An experiment is erratic if its coefficient of variation is greater than 0.1. The abbreviated table will be omitted if no interesting change is observed.

No interesting changes in experiment optimization goals with confidence ≥ 90.00% and |Δ mean %| ≥ 5.00%.

Fine details of change detection per experiment.
experiment goal Δ mean Δ mean % confidence baseline mean baseline stdev baseline stderr baseline outlier % baseline CoV comparison mean comparison stdev comparison stderr comparison outlier % comparison CoV erratic declared erratic
socket_to_socket_blackhole ingress throughput 640.84KiB/CPU-s 4.87 100.00% 12.84MiB/CPU-s 622.72KiB/CPU-s 8.04KiB/CPU-s 0.0 0.047347 13.47MiB/CPU-s 342.5KiB/CPU-s 4.42KiB/CPU-s 0.0 0.024831 False False
datadog_agent_remap_datadog_logs_acks ingress throughput 1.52MiB/CPU-s 4.71 100.00% 32.37MiB/CPU-s 1.12MiB/CPU-s 14.76KiB/CPU-s 0.0 0.0345 33.9MiB/CPU-s 1.11MiB/CPU-s 14.7KiB/CPU-s 0.0 0.032828 False False
http_text_to_http_json ingress throughput 979.3KiB/CPU-s 3.98 100.00% 24.05MiB/CPU-s 877.03KiB/CPU-s 11.32KiB/CPU-s 0.0 0.03561 25.01MiB/CPU-s 621.73KiB/CPU-s 8.02KiB/CPU-s 0.0 0.024279 False False
otlp_grpc_to_blackhole ingress throughput 38.48KiB/CPU-s 3.75 100.00% 1.0MiB/CPU-s 45.95KiB/CPU-s 607.45B/CPU-s 0.0 0.044784 1.04MiB/CPU-s 53.94KiB/CPU-s 712.48B/CPU-s 0.0 0.050662 False False
syslog_humio_logs ingress throughput 302.86KiB/CPU-s 3.36 100.00% 8.81MiB/CPU-s 296.14KiB/CPU-s 3.82KiB/CPU-s 0.0 0.03283 9.1MiB/CPU-s 133.05KiB/CPU-s 1.72KiB/CPU-s 0.0 0.01427 False False
datadog_agent_remap_blackhole ingress throughput 798.75KiB/CPU-s 2.57 100.00% 30.3MiB/CPU-s 1006.01KiB/CPU-s 12.99KiB/CPU-s 0.0 0.032422 31.08MiB/CPU-s 687.49KiB/CPU-s 8.87KiB/CPU-s 0.0 0.021601 False False
syslog_loki ingress throughput 221.2KiB/CPU-s 2.55 100.00% 8.48MiB/CPU-s 218.6KiB/CPU-s 2.82KiB/CPU-s 0.0 0.02516 8.7MiB/CPU-s 270.68KiB/CPU-s 3.49KiB/CPU-s 0.0 0.03038 False False
datadog_agent_remap_datadog_logs ingress throughput 840.48KiB/CPU-s 2.52 100.00% 32.62MiB/CPU-s 1.35MiB/CPU-s 17.87KiB/CPU-s 0.0 0.041482 33.44MiB/CPU-s 1.35MiB/CPU-s 17.88KiB/CPU-s 0.0 0.040475 False False
splunk_hec_route_s3 ingress throughput 293.62KiB/CPU-s 2.50 100.00% 11.46MiB/CPU-s 602.27KiB/CPU-s 7.77KiB/CPU-s 0.0 0.051332 11.74MiB/CPU-s 557.71KiB/CPU-s 7.2KiB/CPU-s 0.0 0.046374 False False
otlp_http_to_blackhole ingress throughput 36.57KiB/CPU-s 2.38 100.00% 1.5MiB/CPU-s 117.99KiB/CPU-s 1.52KiB/CPU-s 0.0 0.076661 1.54MiB/CPU-s 118.28KiB/CPU-s 1.53KiB/CPU-s 0.0 0.07507 False False
syslog_splunk_hec_logs ingress throughput 191.45KiB/CPU-s 2.14 100.00% 8.74MiB/CPU-s 201.71KiB/CPU-s 2.6KiB/CPU-s 0.0 0.022538 8.93MiB/CPU-s 258.39KiB/CPU-s 3.33KiB/CPU-s 0.0 0.028266 False False
datadog_agent_remap_blackhole_acks ingress throughput 567.51KiB/CPU-s 1.82 100.00% 30.48MiB/CPU-s 1.56MiB/CPU-s 20.57KiB/CPU-s 0.0 0.051048 31.04MiB/CPU-s 835.34KiB/CPU-s 10.78KiB/CPU-s 0.0 0.026282 False False
syslog_regex_logs2metric_ddmetrics ingress throughput 32.17KiB/CPU-s 0.90 100.00% 3.48MiB/CPU-s 288.24KiB/CPU-s 3.72KiB/CPU-s 0.0 0.080963 3.51MiB/CPU-s 323.05KiB/CPU-s 4.17KiB/CPU-s 0.0 0.08993 False False
syslog_log2metric_splunk_hec_metrics ingress throughput 48.4KiB/CPU-s 0.52 100.00% 9.08MiB/CPU-s 241.5KiB/CPU-s 3.12KiB/CPU-s 0.0 0.025979 9.12MiB/CPU-s 312.44KiB/CPU-s 4.03KiB/CPU-s 0.0 0.033436 False False
enterprise_http_to_http ingress throughput 10.45KiB/CPU-s 0.07 96.37% 13.61MiB/CPU-s 334.61KiB/CPU-s 4.32KiB/CPU-s 0.0 0.024004 13.62MiB/CPU-s 193.85KiB/CPU-s 2.5KiB/CPU-s 0.0 0.013896 False False
splunk_hec_to_splunk_hec_logs_acks ingress throughput 5.82KiB/CPU-s 0.04 62.85% 13.62MiB/CPU-s 376.82KiB/CPU-s 4.86KiB/CPU-s 0.0 0.027026 13.62MiB/CPU-s 336.12KiB/CPU-s 4.34KiB/CPU-s 0.0 0.024097 False False
splunk_hec_to_splunk_hec_logs_noack ingress throughput 3.6KiB/CPU-s 0.03 66.58% 13.62MiB/CPU-s 216.76KiB/CPU-s 2.8KiB/CPU-s 0.0 0.015538 13.63MiB/CPU-s 191.09KiB/CPU-s 2.47KiB/CPU-s 0.0 0.013694 False False
fluent_elasticsearch ingress throughput 174.13B/CPU-s 0.00 24.81% 45.41MiB/CPU-s 29.96KiB/CPU-s 391.6B/CPU-s 0.0 0.000644 45.41MiB/CPU-s 29.65KiB/CPU-s 387.38B/CPU-s 0.0 0.000637 False False
splunk_hec_indexer_ack_blackhole ingress throughput 355.68B/CPU-s 0.00 6.10% 13.62MiB/CPU-s 252.39KiB/CPU-s 3.26KiB/CPU-s 0.0 0.018098 13.62MiB/CPU-s 245.42KiB/CPU-s 3.17KiB/CPU-s 0.0 0.017598 False False
http_to_http_json ingress throughput -123.13B/CPU-s -0.00 2.50% 13.62MiB/CPU-s 210.9KiB/CPU-s 2.72KiB/CPU-s 0.0 0.015117 13.62MiB/CPU-s 209.78KiB/CPU-s 2.71KiB/CPU-s 0.0 0.015038 False False
file_to_blackhole ingress throughput -6.81KiB/CPU-s -0.01 24.04% 54.49MiB/CPU-s 1.18MiB/CPU-s 15.58KiB/CPU-s 0.0 0.021642 54.48MiB/CPU-s 1.21MiB/CPU-s 15.91KiB/CPU-s 0.0 0.022119 False False
http_to_http_noack ingress throughput -6.0KiB/CPU-s -0.04 77.61% 13.62MiB/CPU-s 230.13KiB/CPU-s 2.97KiB/CPU-s 0.0 0.016499 13.61MiB/CPU-s 305.36KiB/CPU-s 3.94KiB/CPU-s 0.0 0.021902 False False
http_to_http_acks ingress throughput -29.8KiB/CPU-s -0.55 44.18% 5.28MiB/CPU-s 2.7MiB/CPU-s 35.67KiB/CPU-s 0.0 0.510826 5.25MiB/CPU-s 2.75MiB/CPU-s 36.31KiB/CPU-s 0.0 0.522929 True False
syslog_log2metric_humio_metrics ingress throughput -257.75KiB/CPU-s -4.11 100.00% 6.13MiB/CPU-s 260.56KiB/CPU-s 3.36KiB/CPU-s 0.0 0.041523 5.88MiB/CPU-s 382.69KiB/CPU-s 4.94KiB/CPU-s 0.0 0.063597 False False

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain: external docs Anything related to Vector's external, public documentation domain: sinks Anything related to the Vector's sinks domain: sources Anything related to the Vector's sources
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Kafka consumer group lag internal metric
6 participants