[
https://issues.apache.org/jira/browse/CAMEL-22695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18039422#comment-18039422
]
Cameron Fitzwater commented on CAMEL-22695:
-------------------------------------------
Got it. When looking at the commit for this, I was then trying to then trace
back to what change got introduced that broke this... My thought was that
whatever change it was, it must have been merged into 4.X baseline (and maybe
tests don't yet exist around verifying this)...? That seems to be the only
explanation as to why the behavior changed even though I am still pinned to all
the same versions as before (4.14.0).
Ideally, seeing this ported into ALL versions of 4.14 (LTS) would be a
nice-to-have, as I am now having to either:
a. wait until 4.14.3 is released and use that on all future builds (we pin to
LTS)
b. add additional code on my rebuilds to explicitly enable this behavior to
have the same result as before :/.
Some of this may just be due to the convention we are working within - where we
utilize camel jbang heavily and have a large dependency on it for our pipeline
(and where I hope to see the future go with camel jbang – such a great tool).
> camel-jbang: --observe flag being ignored
> -----------------------------------------
>
> Key: CAMEL-22695
> URL: https://issues.apache.org/jira/browse/CAMEL-22695
> Project: Camel
> Issue Type: Bug
> Components: camel-jbang
> Affects Versions: 4.x
> Reporter: Cameron Fitzwater
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 4.14.3, 4.17.0
>
>
> When running a {{camel run}} or {{{}camel export{}}}, if you have an
> application.properties file, it is no longer auto-enabling metrics when
> having the {{--observe}} flag (it is completely ignored).
> We use this {{--observe}} flag in our pipeline, and even with jbang and camel
> pinned to version, the same behavior is happening.
> This behavior changed recently, and I believe impacted all 4.X, per some
> local testing.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)