Skip to content

[monitoring] Pass config-managed key-value tags to monitoring listeners.#3153

Open
copybara-service[bot] wants to merge 1 commit intomainfrom
test_882140161
Open

[monitoring] Pass config-managed key-value tags to monitoring listeners.#3153
copybara-service[bot] wants to merge 1 commit intomainfrom
test_882140161

Conversation

@copybara-service
Copy link
Copy Markdown

[monitoring] Pass config-managed key-value tags to monitoring listeners.

JAX monitoring listeners currently receive only arguments that events pass. However, we want to be able to tag monitoring data along with durations and counters. For example, if users want to collect data across jobs or tests, we want to be able to record metadata for post-processing (e.g., job attributes, test parameters).

NOTE: Added jax.monitoring_tags to the public API so it's available to users as a context manager. However, other monitoring APIs are undocumented, so added to the UNDOCUMENTED_APIS list.

JAX monitoring listeners currently receive only arguments that events pass. However, we want to be able to tag monitoring data along with durations and counters. For example, if users want to collect data across jobs or tests, we want to be able to record metadata for post-processing (e.g., job attributes, test parameters).

NOTE: Added `jax.monitoring_tags` to the public API so it's available to users as a context manager. However, other monitoring APIs are undocumented, so added to the `UNDOCUMENTED_APIS` list.
PiperOrigin-RevId: 882140161
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant