package com.cameleer.server.core.storage;

import com.cameleer.server.core.storage.model.ServerMetricSample;

import java.util.List;

/**
 * Sink for periodic snapshots of the server's own Micrometer meter registry.
 * Implementations persist the samples (e.g. to ClickHouse) so server
 * self-metrics survive restarts and can be queried historically without an
 * external Prometheus.
 */
public interface ServerMetricsStore {

    void insertBatch(List<ServerMetricSample> samples);
}
