Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Monitroing with Prometheus via JMX Exporter #7295

@0xburan

Description

@0xburan

I'm trying to setup jmx exporter to collect metrics by Prometheus.
Following the article https://corda.net/blog/monitoring-corda-nodes-with-prometheus-grafana-and-elk-on-docker-2/, I run corda with the following options, but port 9096 isn't available on the pod on the kubernetes cluster.
java -Dcapsule.jvm.args="-javaagent:./jmx_prometheus_javaagent-0.17.2.jar=9096:./jmx_config.yaml" -jar corda.jar --base-directory /opt/corda/workspace

According to top command, javaagent option doesn't appear. What is the correct option to use JMX Exporter with Corda?
82 1 corda S 3519m 21% 3 0% java -jar corda.jar --base-directory ./workspace

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