package com.gnx.telemedicine.config;

import com.gnx.telemedicine.metrics.TelemedicineMetrics;
import jakarta.annotation.PostConstruct;
import lombok.RequiredArgsConstructor;
import org.springframework.context.annotation.Configuration;

/**
 * Configuration for metrics initialization.
 */
@Configuration
@RequiredArgsConstructor
public class MetricsConfig {
    
    private final TelemedicineMetrics telemedicineMetrics;
    
    @PostConstruct
    public void initializeMetrics() {
        telemedicineMetrics.initialize();
    }
}

