/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ export type { TraceDefinition } from './types.js'; export { pseudonymizeConversationId, redactDiagnosticObject, redactString, redactUrl, redactScopes } from './utils/redact.js'; export declare const SpanNames: { readonly ADAPTER_PROCESS: 'agents.adapter.process'; readonly ADAPTER_SEND_ACTIVITIES: 'agents.adapter.send_activities'; readonly ADAPTER_UPDATE_ACTIVITY: 'agents.adapter.update_activity'; readonly ADAPTER_DELETE_ACTIVITY: 'agents.adapter.delete_activity'; readonly ADAPTER_CONTINUE_CONVERSATION: 'agents.adapter.continue_conversation'; readonly ADAPTER_CREATE_CONNECTOR_CLIENT: 'agents.adapter.create_connector_client'; readonly ADAPTER_CREATE_USER_TOKEN_CLIENT: 'agents.adapter.create_user_token_client'; readonly AGENTS_APP_RUN: 'agents.app.run'; readonly AGENTS_APP_ROUTE_HANDLER: 'agents.app.route_handler'; readonly AGENTS_APP_BEFORE_TURN: 'agents.app.before_turn'; readonly AGENTS_APP_AFTER_TURN: 'agents.app.after_turn'; readonly AGENTS_APP_DOWNLOAD_FILES: 'agents.app.download_files'; readonly AGENTS_APP_TYPING_INDICATOR: 'agents.app.typing_indicator'; readonly CONNECTOR_SEND_TO_CONVERSATION: 'agents.connector.send_to_conversation'; readonly CONNECTOR_REPLY_TO_ACTIVITY: 'agents.connector.reply_to_activity'; readonly CONNECTOR_UPDATE_ACTIVITY: 'agents.connector.update_activity'; readonly CONNECTOR_DELETE_ACTIVITY: 'agents.connector.delete_activity'; readonly CONNECTOR_CREATE_CONVERSATION: 'agents.connector.create_conversation'; readonly CONNECTOR_GET_CONVERSATIONS: 'agents.connector.get_conversations'; readonly CONNECTOR_GET_CONVERSATION_MEMBER: 'agents.connector.get_conversation_member'; readonly CONNECTOR_UPLOAD_ATTACHMENT: 'agents.connector.upload_attachment'; readonly CONNECTOR_GET_ATTACHMENT: 'agents.connector.get_attachment'; readonly CONNECTOR_GET_ATTACHMENT_INFO: 'agents.connector.get_attachment_info'; readonly STORAGE_READ: 'agents.storage.read'; readonly STORAGE_WRITE: 'agents.storage.write'; readonly STORAGE_DELETE: 'agents.storage.delete'; readonly AGENT_CLIENT_POST_ACTIVITY: 'agents.agent_client.post_activity'; readonly AUTHENTICATION_GET_ACCESS_TOKEN: 'agents.authentication.get_access_token'; readonly AUTHENTICATION_ACQUIRE_TOKEN_ON_BEHALF_OF: 'agents.authentication.acquire_token_on_behalf_of'; readonly AUTHENTICATION_GET_AGENTIC_INSTANCE_TOKEN: 'agents.authentication.get_agentic_instance_token'; readonly AUTHENTICATION_GET_AGENTIC_USER_TOKEN: 'agents.authentication.get_agentic_user_token'; readonly AUTHORIZATION_AGENTIC_TOKEN: 'agents.authorization.agentic_token'; readonly AUTHORIZATION_AZURE_BOT_TOKEN: 'agents.authorization.azure_bot_token'; readonly AUTHORIZATION_AZURE_BOT_OBO_TOKEN: 'agents.authorization.azure_bot_obo_token'; readonly AUTHORIZATION_AZURE_BOT_SIGNIN: 'agents.authorization.azure_bot_signin'; readonly AUTHORIZATION_AZURE_BOT_SIGNOUT: 'agents.authorization.azure_bot_signout'; readonly USER_TOKEN_CLIENT_GET_USER_TOKEN: 'agents.user_token_client.get_user_token'; readonly USER_TOKEN_CLIENT_SIGN_OUT: 'agents.user_token_client.sign_out'; readonly USER_TOKEN_CLIENT_GET_SIGN_IN_RESOURCE: 'agents.user_token_client.get_sign_in_resource'; readonly USER_TOKEN_CLIENT_EXCHANGE_TOKEN: 'agents.user_token_client.exchange_token'; readonly USER_TOKEN_CLIENT_GET_TOKEN_OR_SIGN_IN_RESOURCE: 'agents.user_token_client.get_token_or_sign_in_resource'; readonly USER_TOKEN_CLIENT_GET_TOKEN_STATUS: 'agents.user_token_client.get_token_status'; readonly USER_TOKEN_CLIENT_GET_AAD_TOKENS: 'agents.user_token_client.get_aad_tokens'; readonly PROACTIVE_STORE_CONVERSATION: 'agents.proactive.store_conversation'; readonly PROACTIVE_GET_CONVERSATION: 'agents.proactive.get_conversation'; readonly PROACTIVE_GET_CONVERSATION_OR_THROW: 'agents.proactive.get_conversation_or_throw'; readonly PROACTIVE_DELETE_CONVERSATION: 'agents.proactive.delete_conversation'; readonly PROACTIVE_SEND_ACTIVITY: 'agents.proactive.send_activity'; readonly PROACTIVE_CONTINUE_CONVERSATION: 'agents.proactive.continue_conversation'; readonly PROACTIVE_CREATE_CONVERSATION: 'agents.proactive.create_conversation'; readonly TURN_SEND_ACTIVITIES: 'agents.turn.send_activities'; readonly DIALOGS_RUN: 'agents.dialogs.run'; readonly DIALOGS_CONTEXT_BEGIN: 'agents.dialogs.context.begin'; readonly DIALOGS_CONTEXT_CONTINUE: 'agents.dialogs.context.continue'; readonly DIALOGS_CONTEXT_END: 'agents.dialogs.context.end'; readonly DIALOGS_CONTEXT_REPLACE: 'agents.dialogs.context.replace'; readonly DIALOGS_CONTEXT_CANCEL_ALL: 'agents.dialogs.context.cancel_all'; readonly COPILOT_START_CONVERSATION: 'agents.copilot_client.start_conversation'; readonly COPILOT_SEND_ACTIVITY: 'agents.copilot_client.send_activity'; readonly COPILOT_POST_REQUEST: 'agents.copilot_client.post_request'; readonly COPILOT_CREATE_CONNECTION: 'agents.copilot_client.webchat.create_connection'; readonly COPILOT_WEBCHAT_START_CONVERSATION: 'agents.copilot_client.webchat.start_conversation'; readonly COPILOT_WEBCHAT_POST_ACTIVITY: 'agents.copilot_client.webchat.post_activity'; readonly COPILOT_WEBCHAT_RECEIVE_ACTIVITY: 'agents.copilot_client.webchat.receive_activity'; readonly COPILOT_WEBCHAT_END_CONNECTION: 'agents.copilot_client.webchat.end_connection'; readonly COPILOT_EXECUTE_STREAMING: 'agents.copilot_client.execute_streaming'; readonly COPILOT_SUBSCRIBE_ASYNC: 'agents.copilot_client.subscribe_async'; readonly NAMED_PIPE_CONNECT: 'agents.named_pipe.connect'; readonly NAMED_PIPE_DISPATCH: 'agents.named_pipe.dispatch'; readonly NAMED_PIPE_SEND: 'agents.named_pipe.send'; readonly SLACK_API_CALL: 'agents.slack.api.call'; }, MetricNames: { readonly ADAPTER_PROCESS_DURATION: 'agents.adapter.process.duration'; readonly ACTIVITIES_RECEIVED: 'agents.activities.received'; readonly ACTIVITIES_SENT: 'agents.activities.sent'; readonly ACTIVITIES_UPDATED: 'agents.activities.updated'; readonly ACTIVITIES_DELETED: 'agents.activities.deleted'; readonly CONNECTOR_REQUESTS: 'agents.connector.request.count'; readonly CONNECTOR_REQUEST_DURATION: 'agents.connector.request.duration'; readonly AGENT_CLIENT_REQUESTS: 'agents.agent_client.request.count'; readonly AGENT_CLIENT_REQUEST_DURATION: 'agents.agent_client.request.duration'; readonly TURNS_COUNT: 'agents.turn.count'; readonly TURNS_ERRORS: 'agents.turn.error.count'; readonly TURN_DURATION: 'agents.turn.duration'; readonly DIALOGS_CONTEXT_COUNT: 'agents.dialogs.context.count'; readonly DIALOGS_CONTEXT_DURATION: 'agents.dialogs.context.duration'; readonly STORAGE_OPERATION_DURATION: 'agents.storage.operation.duration'; readonly AUTH_TOKEN_REQUEST_COUNT: 'agents.auth.token.request.count'; readonly AUTH_TOKEN_DURATION: 'agents.auth.token.duration'; readonly USER_TOKEN_CLIENT_REQUESTS: 'agents.user_token_client.request.count'; readonly USER_TOKEN_CLIENT_REQUEST_DURATION: 'agents.user_token_client.request.duration'; readonly PROACTIVE_OPERATION_COUNT: 'agents.proactive.operation.count'; readonly PROACTIVE_OPERATION_DURATION: 'agents.proactive.operation.duration'; readonly CSC_ACTIVITIES_RECEIVED: 'agents.copilot_client.activities.received'; readonly CSC_ACTIVITIES_SENT: 'agents.copilot_client.activities.sent'; readonly CSC_CONVERSATIONS_STARTED: 'agents.copilot_client.conversations.started'; readonly CSC_WEBCHAT_CONNECTIONS: 'agents.copilot_client.webchat.connection.count'; readonly CSC_REQUEST_COUNT: 'agents.copilot_client.request.count'; readonly CSC_REQUEST_ERRORS: 'agents.copilot_client.request.error.count'; readonly CSC_STREAM_DURATION: 'agents.copilot_client.stream.duration'; readonly CSC_REQUEST_DURATION: 'agents.copilot_client.request.duration'; readonly CSC_EXECUTE_STREAMING: 'agents.copilot_client.execute_streaming.count'; readonly CSC_SUBSCRIBE_ASYNC: 'agents.copilot_client.subscribe_async.count'; readonly CSC_SUBSCRIBE_EVENT: 'agents.copilot_client.subscribe_event.count'; readonly NAMED_PIPE_CONNECTIONS: 'agents.named_pipe.connection.count'; readonly NAMED_PIPE_DISPATCHES: 'agents.named_pipe.dispatch.count'; readonly NAMED_PIPE_DISPATCH_DURATION: 'agents.named_pipe.dispatch.duration'; readonly NAMED_PIPE_DISPATCH_ERRORS: 'agents.named_pipe.dispatch.error.count'; readonly NAMED_PIPE_SENDS: 'agents.named_pipe.send.count'; readonly NAMED_PIPE_SEND_DURATION: 'agents.named_pipe.send.duration'; readonly SLACK_API_REQUESTS: 'agents.slack.api.request.count'; readonly SLACK_API_REQUEST_DURATION: 'agents.slack.api.request.duration'; }, debug: (namespace: string) => import("./loggers/base.js").Logger, trace: import("./types.js").TraceFunction, metric: import("./types.js").Metric;