JFR RestTemplate

A RestTemplate that generates JFR events.

Лицензия

Лицензия

MIT
Группа

Группа

com.github.marschall
Идентификатор

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

jfr-resttemplate
Последняя версия

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

0.2.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

JFR RestTemplate
A RestTemplate that generates JFR events.
Ссылка на сайт

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

https://github.com/marschall/jfr-resttemplate
Система контроля версий

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

https://github.com/marschall/jfr-resttemplate

Скачать jfr-resttemplate

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

<!-- https://jarcasting.com/artifacts/com.github.marschall/jfr-resttemplate/ -->
<dependency>
    <groupId>com.github.marschall</groupId>
    <artifactId>jfr-resttemplate</artifactId>
    <version>0.2.1</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.marschall/jfr-resttemplate/
implementation 'com.github.marschall:jfr-resttemplate:0.2.1'
// https://jarcasting.com/artifacts/com.github.marschall/jfr-resttemplate/
implementation ("com.github.marschall:jfr-resttemplate:0.2.1")
'com.github.marschall:jfr-resttemplate:jar:0.2.1'
<dependency org="com.github.marschall" name="jfr-resttemplate" rev="0.2.1">
  <artifact name="jfr-resttemplate" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.marschall', module='jfr-resttemplate', version='0.2.1')
)
libraryDependencies += "com.github.marschall" % "jfr-resttemplate" % "0.2.1"
[com.github.marschall/jfr-resttemplate "0.2.1"]

Зависимости

provided (1)

Идентификатор библиотеки Тип Версия
org.springframework : spring-web jar

test (2)

Идентификатор библиотеки Тип Версия
org.junit.jupiter : junit-jupiter-api jar
org.junit.jupiter : junit-jupiter-engine jar

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

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

JfrRestTemplate Maven Central Javadocs

An implementation of Spring RestTemplate that generates Flight Recorder events.

Flight Recording of some HTTP requests

<dependency>
  <groupId>com.github.marschall</groupId>
  <artifactId>jfr-resttemplate</artifactId>
  <version>0.2.1</version>
</dependency>

This project requires Java 11 based on OpenJDK or later.

Overhead

We try to keep overhead to a minimum and the only additional allocations besides the JFR events are URI#toString().

Usage

@Configuration
public class RestConfiguration {

   @Bean
   public RestOperations restOperations() {
     ClientHttpRequestFactory requestFactory = ...;
     RestOperations restOperations = new RestTemplate(requestFactory);
     return new JfrRestOperations(restOperations);
   }

}

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

Версия
0.2.1
0.2.0
0.1.0