- 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.7 KiB
JavaScript
46 lines
1.7 KiB
JavaScript
/*
|
|
* Copyright The OpenTelemetry Authors
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
/**
|
|
* Supported types of metric instruments.
|
|
*/
|
|
export var InstrumentType;
|
|
(function (InstrumentType) {
|
|
InstrumentType["COUNTER"] = "COUNTER";
|
|
InstrumentType["GAUGE"] = "GAUGE";
|
|
InstrumentType["HISTOGRAM"] = "HISTOGRAM";
|
|
InstrumentType["UP_DOWN_COUNTER"] = "UP_DOWN_COUNTER";
|
|
InstrumentType["OBSERVABLE_COUNTER"] = "OBSERVABLE_COUNTER";
|
|
InstrumentType["OBSERVABLE_GAUGE"] = "OBSERVABLE_GAUGE";
|
|
InstrumentType["OBSERVABLE_UP_DOWN_COUNTER"] = "OBSERVABLE_UP_DOWN_COUNTER";
|
|
})(InstrumentType || (InstrumentType = {}));
|
|
/**
|
|
* The aggregated point data type.
|
|
*/
|
|
export var DataPointType;
|
|
(function (DataPointType) {
|
|
/**
|
|
* A histogram data point contains a histogram statistics of collected
|
|
* values with a list of explicit bucket boundaries and statistics such
|
|
* as min, max, count, and sum of all collected values.
|
|
*/
|
|
DataPointType[DataPointType["HISTOGRAM"] = 0] = "HISTOGRAM";
|
|
/**
|
|
* An exponential histogram data point contains a histogram statistics of
|
|
* collected values where bucket boundaries are automatically calculated
|
|
* using an exponential function, and statistics such as min, max, count,
|
|
* and sum of all collected values.
|
|
*/
|
|
DataPointType[DataPointType["EXPONENTIAL_HISTOGRAM"] = 1] = "EXPONENTIAL_HISTOGRAM";
|
|
/**
|
|
* A gauge metric data point has only a single numeric value.
|
|
*/
|
|
DataPointType[DataPointType["GAUGE"] = 2] = "GAUGE";
|
|
/**
|
|
* A sum metric data point has a single numeric value and a
|
|
* monotonicity-indicator.
|
|
*/
|
|
DataPointType[DataPointType["SUM"] = 3] = "SUM";
|
|
})(DataPointType || (DataPointType = {}));
|
|
//# sourceMappingURL=MetricData.js.map
|