Vert.x Warp10 Metrics

Sensision / Warp10 implementation of the Vert.x Metrics SPI

Лицензия

Лицензия

Категории

Категории

Metrics Тестирование приложения и мониторинг Monitoring
Группа

Группа

io.github.fyro-ing
Идентификатор

Идентификатор

vertx-warp10-metrics
Последняя версия

Последняя версия

0.0.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

Vert.x Warp10 Metrics
Sensision / Warp10 implementation of the Vert.x Metrics SPI
Ссылка на сайт

Ссылка на сайт

https://github.com/Fyro-Ing/vertx-warp10-metrics
Организация-разработчик

Организация-разработчик

Eclipse
Система контроля версий

Система контроля версий

https://github.com/Fyro-Ing/vertx-warp10-metrics

Скачать vertx-warp10-metrics

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/io.github.fyro-ing/vertx-warp10-metrics/ -->
<dependency>
    <groupId>io.github.fyro-ing</groupId>
    <artifactId>vertx-warp10-metrics</artifactId>
    <version>0.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/io.github.fyro-ing/vertx-warp10-metrics/
implementation 'io.github.fyro-ing:vertx-warp10-metrics:0.0.1'
// https://jarcasting.com/artifacts/io.github.fyro-ing/vertx-warp10-metrics/
implementation ("io.github.fyro-ing:vertx-warp10-metrics:0.0.1")
'io.github.fyro-ing:vertx-warp10-metrics:jar:0.0.1'
<dependency org="io.github.fyro-ing" name="vertx-warp10-metrics" rev="0.0.1">
  <artifact name="vertx-warp10-metrics" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.github.fyro-ing', module='vertx-warp10-metrics', version='0.0.1')
)
libraryDependencies += "io.github.fyro-ing" % "vertx-warp10-metrics" % "0.0.1"
[io.github.fyro-ing/vertx-warp10-metrics "0.0.1"]

Зависимости

compile (7)

Идентификатор библиотеки Тип Версия
io.vertx : vertx-core jar
io.vertx : vertx-codetrans Необязательный jar
io.vertx : vertx-lang-groovy Необязательный jar
io.vertx : vertx-lang-ruby Необязательный jar
io.vertx : vertx-lang-js Необязательный jar
io.vertx : vertx-rx-java Необязательный jar
io.warp10 : sensision jar 1.0.24

provided (2)

Идентификатор библиотеки Тип Версия
io.vertx : vertx-codegen Необязательный jar
io.vertx : vertx-docgen Необязательный jar

test (4)

Идентификатор библиотеки Тип Версия
org.junit.jupiter : junit-jupiter-api jar 5.7.1
io.vertx : vertx-junit5 jar
org.codehaus.groovy : groovy-all pom 3.0.7
org.codehaus.groovy.modules.http-builder : http-builder jar 0.7.1

Модули Проекта

Данный проект не имеет модулей.

vertx-warp10-metrics

About

The Vert.x Metrics SPI allows implementers to capture events from Vert.x in order to gather metrics.

This project is an implementation of the Vert.x Metrics SPI. Metrics built from Vert.x events will sent to a Warp10 platform throw Sensision agent

Quickstart

Follow the instructions to get Warp10 up and running.

Ten clone this project and build it:

git clone https://github.com/slambour/vertx-warp10-metrics.git
cd vertx-warp10-metrics
 mvn clean install

Once the project is built, add the dependency to your Vert.x 3 project. For Maven based projects:

<parent>
 <groupId>io.vertx</groupId>
 <artifactId>vertx-warp10-metrics</artifactId>
 <version>3.3.0-SNAPSHOT</version>
</parent>

Then, you must enable Vert.x Metrics programmatically:

VertxWarp10Options vertxWarp10Options = new VertxWarp10Options();
vertxWarp10Options.setEnabled(true); // By default Vert.x Metrics is disabled

VertxOptions vertxOptions = new VertxOptions();
vertxOptions.setMetricsOptions(vertxWarp10Options);

Vertx vertx = Vertx.vertx(vertxOptions);

or via with system properties:

-Dvertx.metrics.options.enabled=true

Configuration

If you are running with Warp10 docker image, Sensision agent have to write metrics inside the data folder configured by volume mapping. All Sensision configuration works with system properties

-Dsensision.home=/var/warp10/sensision/data
-Dsensision.events.dir=/var/warp10/sensision/data/metrics
-Dsensision.dump.period=60000
-Dsensision.dump.currentts=true
-Dsensision.dump.onexit=true

Documentation

Asciidoc documentation is generated by the build in src/main/asciidoc folder. With:

  1. Getting started sections

  2. All metrics available

  3. Access to your metrics with WarpScript

License

Source available under the terms of Apache License v2.0.

The Apache License v2.0 is available at: http://www.opensource.org/licenses/apache2.0.php

Версии библиотеки

Версия
0.0.1