pierrejeambrun commented on code in PR #64523:
URL: https://github.com/apache/airflow/pull/64523#discussion_r3388775779


##########
airflow-core/src/airflow/config_templates/config.yml:
##########
@@ -1152,6 +1152,18 @@ metrics:
       type: string
       example: ~
       default: "True"
+    api_path_prefix_to_surface:
+      description: |
+        JSON mapping of HTTP path prefixes to API surface names used for the 
``api_surface`` tag
+        on API metrics. Requests that do not match a configured prefix emit 
metrics without the
+        ``api_surface`` tag.

Review Comment:
   I think we should skip unknown surface. Otherwise execution api and others 
will always be emitting metrics. (without a way to configure this not to).



-- 
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]

Reply via email to