xBis7 commented on code in PR #63932: URL: https://github.com/apache/airflow/pull/63932#discussion_r3000354072
########## airflow-core/src/airflow/observability/stats.py: ########## @@ -15,8 +15,39 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. -"""Re-exports from airflow._shared.observability.metrics.stats for compatibility.""" +"""Stats module — re-exports from airflow._shared.observability.metrics.stats.""" from __future__ import annotations -from airflow._shared.observability.metrics.stats import Stats as Stats +from airflow._shared.observability.metrics.stats import ( + decr, + gauge, + incr, + initialize, + normalize_name_for_stats, + timer, + timing, +) + + +class Stats: Review Comment: As discussed, there is a common shim under `_shared` to be used by the providers. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
