You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: tests.rs
    path of file: ./repos/vector/src/transforms/tag_cardinality_limit
    
    the code of the file until where you have to start completion: use std::sync::Arc;

use vector_lib::config::ComponentKey;
use vector_lib::config::OutputId;
use vector_lib::event::EventMetadata;
use vector_lib::metric_tags;

use super::*;
use crate::config::schema::Defini
    
fn make_metric(tags: MetricTags) -> Event {
    let event_metadata = EventMetadata::default().with_source_type("unit_test_stream");

    Event::Metric(
        Metric::new_with_metadata(
            "event",
            metric::MetricKind::Incremental,
            metric::MetricValue::Counter { value: 1.0 },
            event_metadata,
        )
        .with_tags(Some(tags)),
    )
}