squakez commented on code in PR #1282:
URL: 
https://github.com/apache/camel-spring-boot/pull/1282#discussion_r1843599937


##########
components-starter/camel-observability-services-starter/src/main/resources/config/application.properties:
##########
@@ -0,0 +1,21 @@
+
+## ---------------------------------------------------------------------------
+## Licensed to the Apache Software Foundation (ASF) under one or more
+## contributor license agreements.  See the NOTICE file distributed with
+## this work for additional information regarding copyright ownership.
+## The ASF licenses this file to You under the Apache License, Version 2.0
+## (the "License"); you may not use this file except in compliance with
+## the License.  You may obtain a copy of the License at
+##
+##      http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+## See the License for the specific language governing permissions and
+## limitations under the License.
+## ---------------------------------------------------------------------------
+
+management.endpoints.web.exposure.include=prometheus
+management.endpoints.web.base-path=/camel

Review Comment:
   That's correct and a known behavior. Unfortunately Springboot does not allow 
to have individual configurations. However I think it affects the management 
endpoints only (ie, actuators). Do you think it would also interfere with the 
platform http? I can make some test to verify that.
   
   There are in general certain limitation in Springboot that I've documented 
in the camel component [1]. Ideally the usage of this component is something 
explicit from the user, so, we should expect he knows about that. Mind that 
this is the first MVP, and I'm planning to add more endpoints (health, tracing, 
...) which will be all "normalized".
   
   [1] 
https://github.com/apache/camel/blob/main/components/camel-observability-services/src/main/docs/observability-services.adoc#usage



-- 
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: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to