2025-06-05 16:04:25 -04:00
|
|
|
/**
|
|
|
|
|
* @license
|
|
|
|
|
* Copyright 2025 Google LLC
|
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
*/
|
|
|
|
|
|
2025-06-07 14:27:22 -07:00
|
|
|
export const SERVICE_NAME = 'gemini-cli';
|
2025-06-05 16:04:25 -04:00
|
|
|
|
2025-06-11 05:22:13 +00:00
|
|
|
export const EVENT_USER_PROMPT = 'gemini_cli.user_prompt';
|
|
|
|
|
export const EVENT_TOOL_CALL = 'gemini_cli.tool_call';
|
|
|
|
|
export const EVENT_API_REQUEST = 'gemini_cli.api_request';
|
|
|
|
|
export const EVENT_API_ERROR = 'gemini_cli.api_error';
|
|
|
|
|
export const EVENT_API_RESPONSE = 'gemini_cli.api_response';
|
|
|
|
|
export const EVENT_CLI_CONFIG = 'gemini_cli.config';
|
2025-06-05 16:04:25 -04:00
|
|
|
|
2025-06-11 05:22:13 +00:00
|
|
|
export const METRIC_TOOL_CALL_COUNT = 'gemini_cli.tool.call.count';
|
|
|
|
|
export const METRIC_TOOL_CALL_LATENCY = 'gemini_cli.tool.call.latency';
|
|
|
|
|
export const METRIC_API_REQUEST_COUNT = 'gemini_cli.api.request.count';
|
|
|
|
|
export const METRIC_API_REQUEST_LATENCY = 'gemini_cli.api.request.latency';
|
2025-06-11 06:56:53 +00:00
|
|
|
export const METRIC_TOKEN_USAGE = 'gemini_cli.token.usage';
|
2025-06-11 05:22:13 +00:00
|
|
|
export const METRIC_SESSION_COUNT = 'gemini_cli.session.count';
|