Skip to content
This repository has been archived by the owner on Nov 16, 2022. It is now read-only.

Add metricbeat with JMX support to Vamp Docker packages #21

Closed
olafmol opened this issue Feb 17, 2017 · 1 comment
Closed

Add metricbeat with JMX support to Vamp Docker packages #21

olafmol opened this issue Feb 17, 2017 · 1 comment
Assignees
Milestone

Comments

@olafmol
Copy link
Member

olafmol commented Feb 17, 2017

So we can monitor and debug Vamp performance.

elastic/beats#3570

@iamtew
Copy link
Contributor

iamtew commented Feb 22, 2017

The Jolokia/JMX module in metricbeat requires us to add the Jolokia REST API to Vamp, which we don't want to do.

Better approach would be to query the Vamp API and collect the JVM metrics and ship them to ES somehow, either through our own metricbeat module, or we make our own beat for this purpose.

The info we want is available in through the API:

$ curl -sSL http://127.0.0.1:8080/api/v1/info?on=jvm | python -m json.tool
{
    "jvm": {
        "memory": {
            "heap": {
                "committed": 364380160,
                "init": 130023424,
                "max": 1834483712,
                "used": 208457208
            },
            "non_heap": {
                "committed": 127221760,
                "init": 2555904,
                "max": -1,
                "used": 120121640
            }
        },
        "operating_system": {
            "architecture": "amd64",
            "available_processors": 4.0,
            "name": "Linux",
            "system_load_average": 1.142578125,
            "version": "4.9.9-100.fc24.x86_64"
        },
        "runtime": {
            "process": "17@99b4c4556d8d",
            "start_time": 1487760772070,
            "up_time": 711171,
            "virtual_machine_name": "OpenJDK 64-Bit Server VM",
            "virtual_machine_vendor": "Oracle Corporation",
            "virtual_machine_version": "25.121-b13"
        },
        "threads": {
            "count": 28,
            "daemon_count": 7,
            "peak_count": 28,
            "total_started_count": 29
        }
    },
    "message": "Hi, I'm Vamp! How are you?",
    "running_since": "2017-02-22T10:52:55.296Z",
    "uuid": "04c7c310-ddec-4839-9131-d08f9a1182d1",
    "version": "0.9.3-29-g3210e71"
}

@iamtew iamtew closed this as completed in 4d4c5fe Feb 22, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants