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: graphql_metrics.rs
    path of file: ./repos/fuel-core/crates/metrics/src
    
    the code of the file until where you have to start completion: use crate::timing_buckets;
use prometheus_client::{
    encoding::EncodeLabelSet,
    metrics::{
        family::Family,
        gauge::Gauge,
        histogram::Histogram,
    },
    registry::Registry,
};
use std::sync::OnceLock;

#[derive(Clone, Debug, Hash, PartialEq, Eq, EncodeLabelSet)]
pub struct Label {
    // the graphql path
    path: String,
    
    fn new() -> Self {
        let mut registry = Registry::default();
        let tx_count_gauge = Gauge::default();
        let requests = Family::<Label, Histogram>::new_with_constructor(|| {
            Histogram::new(timing_buckets().iter().cloned())
        });
        registry.register("graphql_request_duration_seconds", "", requests.clone());

        registry.register(
            "importer_tx_count",
            "the total amount of transactions that have been imported on chain",
            tx_count_gauge.clone(),
        );

        Self {
            registry,
            total_txs_count: tx_count_gauge,
            requests,
        }
    }