Skip to content

Conversation

@jif-oai
Copy link
Collaborator

@jif-oai jif-oai commented Jan 20, 2026

No description provided.


async fn fetch_and_update_models(&self) -> CoreResult<()> {
let _timer =
codex_otel::start_global_timer("codex.remote_models.fetch_update.duration_ms", &[]);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's weird to me that this timer metric name includes duration_ms -- surely units are already handled by the timer itself?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is more for the collection part. It makes is non ambigious for the DS team building dashboards on top of this

@jif-oai jif-oai merged commit 6bbf506 into main Jan 20, 2026
32 checks passed
@jif-oai jif-oai deleted the jif/metrics-4 branch January 20, 2026 13:02
@github-actions github-actions bot locked and limited conversation to collaborators Jan 20, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants