GithubHelp home page GithubHelp logo

eureka_exporter's Introduction

自述

适用于eureka的exporter, 将其上注册的应用状态转化为Prometheus指标;

可同时监控多个eureka集群;

支持basic auth鉴权;

启动参数

config.file --> 配置文件路径,配置文件格式参考 config.yaml 

使用说明

在eureka core 1.4版本对应的server(v1.2)上验证过, 默认指标暴露地址 http://eureka-exporter:9109/metrics;

k8s部署

参考k8s-deploy.yaml

单点eureka与集群eureka

参考配置文件,多节点的eureka 集群配置多个URL即可;

参考 config.yaml

指标标签

eureka_instance --> 传入的eureka name, 用于区分多个eureka集群

eureka_application --> 注册在eureka上的应用名

eureka_app_hostname --> eureka注册信息中的hostname 字段

eureka_app_status --> eureka注册状态字段

eureka_url --> 配置的某个eurekaURL, 一个eureka_instance可以对应多个eureka_url

extend_labels --> config.yaml 中可以配置多个扩展标签, 从metadata中取对应的key/value值作为指标的标签

指标值

1

eureka_exporter's People

Contributors

liushv0 avatar

Watchers

 avatar

Forkers

tinywup

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.