Skip to content

metrics jar is not copied to instance/lib #58

Open
@buuhsmead

Description

@buuhsmead

When enabling the metrics plugin via environment variable 'AMQ_ENABLE_METRICS_PLUGIN=true'
the plugin is configured in the instance/etc/broker.xml but the metrics jar must also be copied to the instance/lib.
And that copy of the metrics jar is not done.

function injectMetricsPlugin() { instanceDir=$1 echo "Adding artemis metrics plugin" sed -i "s/^\([[:blank:]]*\)<\\/core>/\1\1<metrics-plugin class-name=\"org.apache.activemq.artemis.core.server.metrics.plugins.ArtemisPrometheusMetricsPlugin\"\\/>\\n\1<\\/core>/" $instanceDir/etc/broker.xml }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions