import { transformResponse } from './utils.js';
/**
 * Debug utilities for OpenMeter
 */
export class Debug {
    client;
    constructor(client) {
        this.client = client;
    }
    /**
     * Get event metrics
     * @description Returns debug metrics (in OpenMetrics format) like the number of ingested events since mindnight UTC.
     * @param options - The request options
     * @returns The debug metrics
     */
    async getMetrics(options) {
        const resp = await this.client.GET('/api/v1/debug/metrics', {
            ...options,
        });
        return transformResponse(resp);
    }
}
//# sourceMappingURL=debug.js.map