You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "cdia8890 (via GitHub)" <gi...@apache.org> on 2025/04/22 15:28:55 UTC

[I] Micrometer Tags are not captured from Karavan [camel-karavan]

cdia8890 opened a new issue, #1520:
URL: https://github.com/apache/camel-karavan/issues/1520

   ### Describe the bug
   
   When using Micrometer component, the tags are not passed from the YAML to the Micrometer Component Endpoint.
   
   Debugging the Micrometer Component
   
   ![Image](https://github.com/user-attachments/assets/cba3222a-4edf-4623-b628-449c9e1780ae)
   
   ![Image](https://github.com/user-attachments/assets/bd823074-2ff2-4a0b-8e30-7de7ede336d4)
   
   `tags` are captured from `Map<String, Object> parameters`, but it seems tags are defined as path parameters in apache/camel-karavan/karavan-app/src/main/resources/metadata/components.json
   ```
   "tags":{"index":2,"kind":"path","displayName":"Tags","group":"producer","label":"","required":false,"type":"object","javaType":"java.lang.Iterable<io.micrometer.core.instrument.Tag>","deprecated":false,"autowired":false,"secret":false,"description":"Tags of metrics"}
   ```
   
   Highly appreciate your support in getting this resolved.
   
   Thank you!
   
   ### Steps to reproduce the behavior
   
   Example:
   
   ![Image](https://github.com/user-attachments/assets/91f3528d-c1be-4d18-ab6c-fe335a88210e)
   
   Sample YAML content:
   ```
           - to:
               id: to-1bb1
               uri: micrometer
               parameters:
                 metricsType: counter
                 metricsName: eu_enterprise_services.kafka.consumer.records_processed
                 increment: "1"
                 tags: testKey=testValue
   ```
   
   
   
   
   ### Variant
   
   Vs Code Extension
   
   ### Container Management (if applicable)
   
   None
   
   ### Operating System (if applicable)
   
   Windows
   
   ### Version
   
   4.10.2
   
   ### Relevant log output
   
   ```shell
   
   ```


-- 
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-unsubscribe@camel.apache.org.apache.org

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


Re: [I] Micrometer Tags are not captured from Karavan [camel-karavan]

Posted by "cdia8890 (via GitHub)" <gi...@apache.org>.
cdia8890 commented on issue #1520:
URL: https://github.com/apache/camel-karavan/issues/1520#issuecomment-2823576385

   Thank you very much for the quick response! Really appreciate it.


-- 
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-unsubscribe@camel.apache.org

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


Re: [I] Micrometer Tags are not captured from Karavan [camel-karavan]

Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus commented on issue #1520:
URL: https://github.com/apache/camel-karavan/issues/1520#issuecomment-2823147067

   Yes its an issue in Apache Camel
   https://issues.apache.org/jira/browse/CAMEL-22007


-- 
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-unsubscribe@camel.apache.org

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


Re: [I] Micrometer Tags are not captured from Karavan [camel-karavan]

Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus closed issue #1520: Micrometer Tags are not captured from Karavan
URL: https://github.com/apache/camel-karavan/issues/1520


-- 
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-unsubscribe@camel.apache.org

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


Re: [I] Micrometer Tags are not captured from Karavan [camel-karavan]

Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus commented on issue #1520:
URL: https://github.com/apache/camel-karavan/issues/1520#issuecomment-2823326530

   okay this will be improved/fixed in Camel 4.12 and 4.10.4. And so also will be in next Karavan release.


-- 
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-unsubscribe@camel.apache.org

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