OpenTelemetry metrics
Kiro sends the same daily metrics as the CSV report to your OpenTelemetry Protocol (OTLP) collector. Each day at 00:30 UTC, Kiro sends the previous day's credits, overage credits, messages, conversations, tool calls, and response times, with breakdowns by model, tool, and client version.
To set up the export, prepare credentials, and then turn on OpenTelemetry metrics.
- Protocol. OTLP over gRPC (the default) or HTTP/protobuf. Choose the one that your collector accepts.
- Time. Each datapoint covers one activity day in UTC. Its start time is
00:00:00and its time is23:59:59.999999999of that day. Thedateattribute holds the same day. So a datapoint is about 30 minutes old when it arrives. - Temporality. Delta by default. See Choose a temporality.
- Resource. Every export has the resource attribute
service.name = kiro-enterprise.
Some platforms reject datapoints that are too old. Each datapoint is stamped 23:59:59 of the day it covers, so it is about 30 minutes old when it arrives. Amazon CloudWatch accepts the datapoints, because it rejects only points older than 14 days. Prometheus accepts them only with out_of_order_time_window set. See Prometheus and Loki.
Dynatrace and Grafana Cloud reject datapoints older than one hour:
- Dynatrace accepts datapoints with timestamps up to one hour in the past and rejects older ones. See Metric ingestion protocol in the Dynatrace documentation.
- Grafana Cloud rejects a sample when its timestamp is more than one hour older than the newest sample ingested for the tenant. See err-mimir-sample-timestamp-too-old in the Grafana Mimir documentation.
The daily datapoints arrive about 30 minutes old, within the one-hour limit. A delivery that Kiro retries can arrive more than one hour old, and those platforms can reject it.
Each datapoint holds one full day's total, so both settings report the same number. Choose the one that your platform accepts.
| Platform | Temporality |
|---|---|
| Grafana Cloud, Prometheus, and other Prometheus-based backends | Cumulative |
| Honeycomb, Dynatrace, Amazon CloudWatch, and most OpenTelemetry collectors | Delta, the default |
If your platform isn't in the table, keep Delta.
If your collector writes to Prometheus through its OTLP receiver, set two things:
- Set
out_of_order_time_windowin thetsdbsection of the Prometheus configuration, for example to2d. Without it, Prometheus rejects Kiro's datapoints with HTTP 400, because they are older than its newest samples. - Choose Cumulative temporality. If you keep Delta, start Prometheus with
--enable-feature=otlp-deltatocumulative. Otherwise Prometheus drops the delta counters.
Loki stores logs, not metrics, so it doesn't receive the daily metrics. Send real-time events to Loki instead.
Kiro doesn't send success or failure notifications. Check your collector after the first daily export, at 00:30 UTC.
| Check | Expected |
|---|---|
| Metrics | kiro. and kiro. exist |
| Resource attribute | service. |
| Datapoints | One per active user and client type, for each metric. Breakdown metrics have one datapoint per model, tool, or client version that the user used |
date attribute | The activity date, which is the day before the export |
| Attributes | At least kiro., kiro., and kiro. |
| Platform | Where to check |
|---|---|
| Honeycomb | The kiro- dataset. Visualize SUM(kiro. |
| Grafana Cloud | Explore, your Prometheus data source, {__name_ |
| Datadog | Metrics Explorer, kiro., filtered on the service tag |
| Elastic | Kibana Discover or Metrics Explorer, filtered on service. |
| OpenSearch | Query your index for serviceName: |
| Amazon CloudWatch | A PromQL range query against https:. The metrics are in the AWS account that issued the API key. They don't show in the classic metrics console or in ListMetrics |
If data seems to be missing, check these causes first:
- The step is too coarse. Each series gets one datapoint a day. Use a narrow time window around the datapoint time and a fine step, such as 60 seconds.
- The name changed. Prometheus-based backends replace periods with underscores, so
kiro.daily.creditscan appear askiro_daily_credits. - A name is not data. A metric name can stay in an index or autocomplete after its datapoints fall outside your time window.
All metrics are in the kiro.daily.* namespace. Each metric in this table is a monotonic OTLP Sum counter, except kiro.daily.avg_response_ms, which is a Gauge.
| Metric | Description | CSV column |
|---|---|---|
kiro. | Credits used | Credits_ |
kiro. | Overage credits used | Overage_ |
kiro. | Total messages | Total_ |
kiro. | Chat conversations | Chat_ |
kiro. | Messages per model | *model_ |
kiro. | Credits per model. Credits that Kiro can't attribute to a model are under unallocated | *model_ |
kiro. | Tool calls per tool | *tool_ |
kiro. | Requests that called at least one tool | Requests_ |
kiro. | Answers that stopped at the model's output length limit | Answers_ |
kiro. | Client versions used, one datapoint with value 1 per version | Client_ |
kiro. | Average response time in milliseconds, from when Kiro received the request to the end of the response. Not sent when the user had no timed requests | Avg_ |
Breakdown metrics carry the attribute that names the series:
kiro.daily.model_messagesandkiro.daily.model_creditscarrykiro.model.name.kiro.daily.tool_callscarrieskiro.tool.name.kiro.daily.client_version_seencarrieskiro.client.version.
In CSV column names, hyphens in model names become underscores. For example, claude-sonnet-4-5 becomes claude_sonnet_4_5_credits. Tool names are used as they are.
kiro.daily.tool_calls counts the tools that the model asked for. The metrics that end in _client count the tool calls that the Kiro client ran and reported. They need a supported client version. See Client versions.
| Metric | Type | Series attribute | Description | CSV column |
|---|---|---|---|---|
kiro. | Sum | kiro. | Tool calls that the client ran, for each tool | *tool_ |
kiro. | Sum | kiro. | Tool call errors, for each tool | *tool_ |
kiro. | Gauge | kiro. | Average tool call duration in milliseconds, for each tool | *tool_ |
kiro. | Sum | kiro. | Tool calls for each tool kind | *kind*_tool_ |
kiro. | Gauge | kiro. | Average tool call duration in milliseconds, for each tool kind | *kind*_tool_ |
kiro. | Sum | kiro. | Tool calls for each outcome | *outcome*_tool_ |
kiro. | Sum | kiro. | Tool call errors for each error type | *errorType*_tool_ |
kiro. | Sum | kiro. | Tool calls for each MCP server | *server*_mcp_ |
kiro. | Sum | kiro. | Tool call errors for each MCP server | *server*_mcp_ |
kiro. | Gauge | kiro. | Average tool call duration in milliseconds, for each MCP server | *server*_mcp_ |
kiro. | Sum | kiro. | Skill loads for each skill | *skill*_skill_ |
kiro. | Sum | kiro. | Tool calls for each agent mode | *mode*_tool_ |
The series attribute holds the value as the client reported it. Kind, outcome, and agent mode values are uppercase, such as kiro.tool.kind = MCP or kiro.tool.outcome = COMPLETED, while the matching CSV column names use lowercase, such as mcp_tool_calls_by_kind_client. For the counting rules, see Client-measured tool columns.
| Attribute | Type | Presence | Description |
|---|---|---|---|
kiro. | string | Always | The user's IAM Identity Center user ID. If the profile signs in through an external identity provider, the user ID from that provider |
kiro. | string | Always | KIRO_, KIRO_, KIRO_, KIRO_, or PLUGIN. Other values can appear as Kiro adds clients |
kiro. | boolean | Always | Whether the user activated their subscription that day |
date | string | When set | Activity date in UTC |
kiro. | string | When Kiro finds it | The user's email address. With an external identity provider that has no email address for the user, the user name |
kiro. | string | When set | Subscription tier |
kiro. | integer | When set | The user's usage limit |
kiro. | boolean | When set | Whether overage is enabled for the user |
kiro. | double | When set | The user's overage cap, with the same precision as the CSV report |
kiro. | string | Model metrics only | Model name. Internal models that Kiro uses for its own processing are left out of kiro.. On kiro., unallocated holds credits with no model |
kiro. | string | kiro. and the per-tool _client metrics | Name of the tool |
kiro. | string | Per-kind _client metrics | BUILTIN, MCP, SKILL, or UNKNOWN |
kiro. | string | kiro. only | The tool call outcome, such as COMPLETED or ABORT |
kiro. | string | kiro. only | The agent mode, such as VIBE or SPEC |
kiro. | string | kiro. only | The type of error |
kiro. | string | Per-server _client metrics | The configured MCP server name |
kiro. | string | kiro. only | The name in the skill's SKILL. file |
kiro. | string | kiro. only | Version of the Kiro client that sent the requests |
Each export also has these resource attributes:
| Resource attribute | Value |
|---|---|
service. | kiro- |
kiro. | arn: |
kiro. | The Kiro profile ID |
kiro. | The AWS account that holds the Kiro profile |
- AWS Secrets Manager and AWS KMS. Kiro reads your metrics secret, and decrypts it with your key, once for each daily export. Your account pays for these requests.
- Your platform. Each user and each breakdown value, such as a model, tool, MCP server, Skill, or agent mode, forms its own metric series. How your platform charges for series and datapoints depends on the provider.
- Kiro makes up to three attempts for each activity date when a failure is temporary.
- When all attempts fail, Kiro doesn't send that date again. Your collector has a gap for that day. If you also turn on the CSV report, use that day's report to fill the gap, because it holds the same daily metrics.
- If a date is sent again, Kiro doesn't remove duplicates at your collector.
- Kiro treats a request that your collector accepted as a success, even if the collector drops datapoints in it later.
- A configuration error, such as a wrong protocol, fails every day until you fix it. Kiro uses the fixed secret at the next daily export.
If no metrics arrive, see Troubleshooting.