- 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
30 lines
1.5 KiB
TypeScript
30 lines
1.5 KiB
TypeScript
import type { Context, HrTime, Attributes } from '@opentelemetry/api';
|
|
import type { WritableMetricStorage } from './WritableMetricStorage';
|
|
import type { Accumulation, Aggregator } from '../aggregator/types';
|
|
import type { InstrumentDescriptor } from '../InstrumentDescriptor';
|
|
import type { IAttributesProcessor } from '../view/AttributesProcessor';
|
|
import { MetricStorage } from './MetricStorage';
|
|
import type { MetricData } from '../export/MetricData';
|
|
import type { Maybe } from '../utils';
|
|
import type { MetricCollectorHandle } from './MetricCollector';
|
|
/**
|
|
* Internal interface.
|
|
*
|
|
* Stores and aggregates {@link MetricData} for synchronous instruments.
|
|
*/
|
|
export declare class SyncMetricStorage<T extends Maybe<Accumulation>> extends MetricStorage implements WritableMetricStorage {
|
|
private _aggregationCardinalityLimit?;
|
|
private _deltaMetricStorage;
|
|
private _temporalMetricStorage;
|
|
private _attributesProcessor;
|
|
constructor(instrumentDescriptor: InstrumentDescriptor, aggregator: Aggregator<T>, attributesProcessor: IAttributesProcessor, collectorHandles: MetricCollectorHandle[], aggregationCardinalityLimit?: number);
|
|
record(value: number, attributes: Attributes, context: Context, recordTime: HrTime): void;
|
|
/**
|
|
* Collects the metrics from this storage.
|
|
*
|
|
* Note: This is a stateful operation and may reset any interval-related
|
|
* state for the MetricCollector.
|
|
*/
|
|
collect(collector: MetricCollectorHandle, collectionTime: HrTime): Maybe<MetricData>;
|
|
}
|
|
//# sourceMappingURL=SyncMetricStorage.d.ts.map
|