jamesnetherton opened a new pull request #1220: feat: Offer easier access to trait list URL: https://github.com/apache/camel-k/pull/1220 fixes #1203 Added a new command to list traits and their various config options. Describe all traits: `kamel describe trait` Describe the prometheus trait: `kamel describe trait prometheus` I've hidden this from users based on the assumption that they can already get at this info via shell completion. Hence the output is in JSON, so that it's easy for tooling to parse / filter. @bfitzpat Here's an example of the output. Hope that's along the lines of what you need. ```json [ { "name": "prometheus", "platform": false, "profiles": [ "Kubernetes", "Knative", "OpenShift" ], "properties": [ { "name": "enabled", "type": "bool", "default": false }, { "name": "port", "type": "int" }, { "name": "service-monitor", "type": "bool" }, { "name": "service-monitor-labels", "type": "string" } ] } ] ``` **Release Note** ```release-note NONE ```
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services