Git Product home page Git Product logo

observability's Introduction

Valensas Observability

A simple library to manage observability needs for Spring Boot.

Usage

Installation

Include in your build.gradle.kts:

dependencies {
    implementation("com.valensas:observability:$observabilityVersion")
}

// Needed for dependency version metrics only
plugins {
    id("com.valensas.observability-artifacts") version "$observabilityVersion"
}

tasks.withType<KotlinCompile> {
    dependsOn(tasks.getByName("observabilityArtifacts"))
}

WebClient metrics

This feature allows to expose Micrometer metrics for Spring's WebClient.

val webClient = WebClient.builder().observationConvention(IntegrationRequestObservationConvention("metric.name"))

Feign Micrometer Capability auto configuration

This feature is automatically enabled when Feign and Micrometer are configured. It enables Micrometer metrics for Feign requests.

B3 Header propagation

Allows for customization of B3 header propagation. This configuration is enabled when management.tracing.propagation.type=B3 and the header format can be configured using management.tracing.propagation.format=SINGLE/MULTI/SINGLE_NO_PARENT. The default value is SINGLE.

Version metrics

This feature allows to expose you application's dependencies' versions to Micrometer. This feature is enabled when Micrometer is configured and valensas.observability.version-metrics.enabled=true (default is true). The metric name can be configured using the valensas.observability.version-metric.name property (default is valensas_application).

For this feature to work properly, you will need the use the com.valensas.observability-artifacts plugin as described in the installation section.

observability's People

Contributors

moray95 avatar

Watchers

Ahmet Geymen avatar  avatar Semih Turan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.