- Add full Telegram bot functionality with Z.AI API integration
- Implement 4 tools: Bash, FileEdit, WebSearch, Git
- Add 3 agents: Code Reviewer, Architect, DevOps Engineer
- Add 6 skills for common coding tasks
- Add systemd service file for 24/7 operation
- Add nginx configuration for HTTPS webhook
- Add comprehensive documentation
- Implement WebSocket server for real-time updates
- Add logging system with Winston
- Add environment validation
🤖 zCode CLI X - Agentic coder with Z.AI + Telegram integration
46 lines
1.8 KiB
TypeScript
46 lines
1.8 KiB
TypeScript
import type { Meter as IMeter, MetricOptions, Gauge, Histogram, Counter, UpDownCounter, ObservableGauge, ObservableCounter, ObservableUpDownCounter, BatchObservableCallback, Observable } from '@opentelemetry/api';
|
|
import type { MeterSharedState } from './state/MeterSharedState';
|
|
/**
|
|
* This class implements the {@link IMeter} interface.
|
|
*/
|
|
export declare class Meter implements IMeter {
|
|
private _meterSharedState;
|
|
constructor(meterSharedState: MeterSharedState);
|
|
/**
|
|
* Create a {@link Gauge} instrument.
|
|
*/
|
|
createGauge(name: string, options?: MetricOptions): Gauge;
|
|
/**
|
|
* Create a {@link Histogram} instrument.
|
|
*/
|
|
createHistogram(name: string, options?: MetricOptions): Histogram;
|
|
/**
|
|
* Create a {@link Counter} instrument.
|
|
*/
|
|
createCounter(name: string, options?: MetricOptions): Counter;
|
|
/**
|
|
* Create a {@link UpDownCounter} instrument.
|
|
*/
|
|
createUpDownCounter(name: string, options?: MetricOptions): UpDownCounter;
|
|
/**
|
|
* Create a {@link ObservableGauge} instrument.
|
|
*/
|
|
createObservableGauge(name: string, options?: MetricOptions): ObservableGauge;
|
|
/**
|
|
* Create a {@link ObservableCounter} instrument.
|
|
*/
|
|
createObservableCounter(name: string, options?: MetricOptions): ObservableCounter;
|
|
/**
|
|
* Create a {@link ObservableUpDownCounter} instrument.
|
|
*/
|
|
createObservableUpDownCounter(name: string, options?: MetricOptions): ObservableUpDownCounter;
|
|
/**
|
|
* @see {@link Meter.addBatchObservableCallback}
|
|
*/
|
|
addBatchObservableCallback(callback: BatchObservableCallback, observables: Observable[]): void;
|
|
/**
|
|
* @see {@link Meter.removeBatchObservableCallback}
|
|
*/
|
|
removeBatchObservableCallback(callback: BatchObservableCallback, observables: Observable[]): void;
|
|
}
|
|
//# sourceMappingURL=Meter.d.ts.map
|