@jolokia.js/simple
TypeScript icon, indicating that this package has built-in type declarations

2.2.4 • Public • Published

Jolokia JavaScript Simple Client library (ES Module)

The Jolokia JavaScript Simple library provides a JavaScript Simple API to the to the Jolokia agent. Refer to Reference Manual for more details on how to use the library.

Installation

NPM:

npm i @jolokia.js/simple

Yarn:

yarn add @jolokia.js/simple

Usage

import Jolokia from "@jolokia.js/simple"

const jolokia = new Jolokia("/jolokia")
const value = await jolokia.getAttribute("java.lang:type=Memory", "HeapMemoryUsage", "used")
console.log("Heap Memory used:", value)

Readme

Keywords

Package Sidebar

Install

npm i @jolokia.js/simple

Weekly Downloads

525

Version

2.2.4

License

Apache-2.0

Unpacked Size

30.9 kB

Total Files

7

Last publish

Collaborators

  • phantomjinx
  • gr.grzybek
  • tadayosi