springboot2

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2019 License: GPL-3.0 Imports: 8 Imported by: 1

README

springboot2

This module will monitor one or more Java Spring-boot 2 applications depending on configuration. Netdata can be used to monitor running Java Spring Boot 2 applications that expose their metrics with the use of the Spring Boot Actuator included in Spring Boot library.

Configuration

The Spring Boot Actuator exposes these metrics over HTTP and is very easy to use:

  • add org.springframework.boot:spring-boot-starter-actuator and io.micrometer:micrometer-registry-prometheus to your application dependencies
  • set management.endpoints.web.exposure.include=* in your application.properties

Please refer Spring Boot Actuator: Production-ready features and 81. Actuator - Part IX. ‘How-to’ guides for more information.

Charts

  • Response Codes in requests/s

    • 1xx
    • 2xx
    • 3xx
    • 4xx
    • 5xx
  • Threads

    • daemon
    • total
  • Heap Mmeory Usage in bytes

    • overview
      • used
      • committed
    • Eden space
      • used
      • committed
    • Survivor space
      • used
      • committed
    • Old space
      • used
      • committed
  • uptime in seconds

    • uptime

Usage

The springboot module is enabled by default. It looks up http://localhost:8080/actuator/prometheus and http://127.0.0.1:8080/actuator/prometheus to detect Spring Boot application by default. You can change it by editing /etc/netdata/go.d/springboot2.conf (to edit it on your system run /etc/netdata/edit-config go.d/springboot2.conf).

Please check springboot2.conf for more examples.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Charts

type Charts = module.Charts

Charts is an alias for module.Charts

type Dims

type Dims = module.Dims

Dims is an alias for module.Dims

type SpringBoot2

type SpringBoot2 struct {
	module.Base

	web.HTTP  `yaml:",inline"`
	URIFilter matcher.SimpleExpr `yaml:"uri_filter"`
	// contains filtered or unexported fields
}

SpringBoot2 Spring boot 2 module

func New

func New() *SpringBoot2

New returns SpringBoot2 instance with default values

func (SpringBoot2) Charts

func (SpringBoot2) Charts() *Charts

Charts creates Charts

func (*SpringBoot2) Check

func (s *SpringBoot2) Check() bool

Check makes check

func (SpringBoot2) Cleanup

func (SpringBoot2) Cleanup()

Cleanup Cleanup

func (*SpringBoot2) Collect

func (s *SpringBoot2) Collect() map[string]int64

Collect collects metrics

func (*SpringBoot2) Init

func (s *SpringBoot2) Init() bool

Init makes initialization

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL