xBis7 commented on code in PR #43941:
URL: https://github.com/apache/airflow/pull/43941#discussion_r1842139569
##########
airflow/metrics/validators.py:
##########
@@ -82,7 +82,8 @@ class MetricNameLengthExemptionWarning(Warning):
}
BACK_COMPAT_METRIC_NAMES: set[Pattern[str]] = {re2.compile(name) for name in
BACK_COMPAT_METRIC_NAME_PATTERNS}
-OTEL_NAME_MAX_LENGTH = 63
+# According to otel spec, max length should be 255. Change if the spec gets
revised.
+OTEL_NAME_MAX_LENGTH = 255
Review Comment:
@ferruzzi I reverted the change. Thanks for the info.
--
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]