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/sinks/loki
    
    the code of the file until where you have to start completion: use vector_lib::config::proxy::ProxyConfig;

use super::{config::LokiConfig, healthcheck::healthcheck, sink::LokiSink};
use crate::{
    http::HttpClient,
    sinks::prelude::*,
    sinks::util::test::{build_test_server, load_sink},
    test_util,
};

#[test]
fn generate_config() {
    test_util::test_generate_config::<LokiConfig>();
}

#[tokio::test]
async fn interpolate_labels() {
    let (config, cx) = load_sink::<LokiConfig>(
        r#"
  
    
async fn healthcheck_grafana_cloud() {
    test_util::trace_init();
    let (config, _cx) = load_sink::<LokiConfig>(
        r#"
            endpoint = "http://logs-prod-us-central1.grafana.net"
            encoding.codec = "json"
            labels = {test_name = "placeholder"}
        "#,
    )
    .unwrap();

    let tls = TlsSettings::from_options(&config.tls).expect("could not create TLS settings");
    let proxy = ProxyConfig::default();
    let client = HttpClient::new(tls, &proxy).expect("could not create HTTP client");

    healthcheck(config, client)
        .await
        .expect("healthcheck failed");
}