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

Refactor SourceMetrics with LabelGuarded ones #16729

Open
Tracked by #14838
fuyufjh opened this issue May 13, 2024 · 0 comments
Open
Tracked by #14838

Refactor SourceMetrics with LabelGuarded ones #16729

fuyufjh opened this issue May 13, 2024 · 0 comments
Assignees
Milestone

Comments

@fuyufjh
Copy link
Contributor

fuyufjh commented May 13, 2024

See background in the tracking issue #14838

#[derive(Debug, Clone)]
pub struct SourceMetrics {
pub partition_input_count: GenericCounterVec<AtomicU64>,
// **Note**: for normal messages, the metric is the message's payload size.
// For messages from load generator, the metric is the size of stream chunk.
pub partition_input_bytes: GenericCounterVec<AtomicU64>,
/// Report latest message id
pub latest_message_id: GenericGaugeVec<AtomicI64>,
pub rdkafka_native_metric: Arc<RdKafkaStats>,
pub connector_source_rows_received: GenericCounterVec<AtomicU64>,
pub direct_cdc_event_lag_latency: HistogramVec,
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants