exporter for Aliyun CloudMonitor. Written in Golang.

Overview

Aliyun CloudMonitor Exporter

exporter for Aliyun CloudMonitor. Written in Golang. inspired by aliyun-exporter

Develop

cd aliyun-exporter
make tidy

Build

# Binary
make bin
# docker image
make docker-build

Usage

make bin
# run
./build/_output/bin/aliyun-exporter serve

Deploy

Docker-compose

Pre-requisites:

  • Docker
  • docker-compose
# copy and modify example.yaml first
cd deploy
docker-compose up -d

Kubernetes

Pre-requisites:

  • Kubernetes
  • helm
helm install -n monitoring aliyun-exporter deploy/aliyun-exporter
kubectl get po -n monitoring -w

prometheus job

- job_name: 'aliyun-exporter'
  scrape_interval: 60s
  scrape_timeout: 60s
  static_configs:
  - targets: ['aliyun-exporter:9527']
    labels:
      account_name: xxxx
      provider: aliyun # or aliyun_jst

prometheus rules

sample file

Limitation

  • an exporter instance can only scrape metrics from single region
  • ...

TODO

  • dynamic rate limiter
  • grafana dashboard

Ref

You might also like...
A discord chat exporter, made in golang

Discord Chat exporter ⚠️ THIS PROJECT IS STILL UNDER DEVELOPMENT, NOT EVEN OUT AS A BETA ⚠️ This is a golang implemintation of a discord chat explorer

📡  Prometheus exporter that exposes metrics from SpaceX Starlink Dish
📡 Prometheus exporter that exposes metrics from SpaceX Starlink Dish

Starlink Prometheus Exporter A Starlink exporter for Prometheus. Not affiliated with or acting on behalf of Starlink(™) 📡 Starlink Monitoring System

Prometheus exporter for Chia node metrics

chia_exporter Prometheus metric collector for Chia nodes, using the local RPC API Building and Running With the Go compiler tools installed: go build

Nvidia GPU exporter for prometheus using nvidia-smi binary
Nvidia GPU exporter for prometheus using nvidia-smi binary

nvidia_gpu_exporter Nvidia GPU exporter for prometheus, using nvidia-smi binary to gather metrics. Introduction There are many Nvidia GPU exporters ou

HBase Exporter,fetch data from jmx for region-level data.

HBase Exporter Prometheus exporter for HBase which fetch data from hbase jmx, written in Go. You can even see region-level metrics. Installation and U

NVIDIA GPU metrics exporter for Prometheus leveraging DCGM

DCGM-Exporter This repository contains the DCGM-Exporter project. It exposes GPU metrics exporter for Prometheus leveraging NVIDIA DCGM. Documentation

Prometheus exporter for Amazon Elastic Container Service (ECS)

ecs_exporter 🚧 🚧 🚧 This repo is still work in progress and is subject to change. This repo contains a Prometheus exporter for Amazon Elastic Contai

Prometheus exporter for DeadMansSnitch

DeadMansSnitch Exporter Prometheus exporter for DeadMansSnitch information (snitches) Configuration Usage: deadmanssnitch-exporter [OPTIONS] Applic

A prometheus exporter for monitoring FIO nodeos nodes.
A prometheus exporter for monitoring FIO nodeos nodes.

fio-prometheus-exporter This is a simple prometheus exporter for FIO nodeos nodes. It can connect to multiple nodes to display a few critical statisti

Comments
  • 为什么要去掉InstanceInfo数据的采集呢?

    为什么要去掉InstanceInfo数据的采集呢?

    			cm, err := collector.NewCloudMonitorCollector(appName, cfg, rt, logger)
    			if err != nil {
    				return err
    			}
    			iif, err := collector.NewInstanceInfoCollector(appName, cfg, rt, logger)
    			if err != nil {
    				return err
    			}
    			h, err := handler.New(o.so.listenAddress, o.so.metricPath, logger, cm, iif)
    			if err != nil {
    				return err
    			}
    

    之前的项目中是有InstanceInfo信息的采集的,为什么要去掉呀?这样不就没法获取完善的监控数据了吗?

    opened by shuoshadow 2
  • 同学,您这个项目引入了184个开源组件,存在1个漏洞,辛苦升级一下

    同学,您这个项目引入了184个开源组件,存在1个漏洞,辛苦升级一下

    检测到 IAOTW/aliyun-exporter 一共引入了184个开源组件,存在1个漏洞

    漏洞标题:jwt-go 安全漏洞
    缺陷组件:github.com/dgrijalva/[email protected]+incompatible
    漏洞编号:CVE-2020-26160
    漏洞描述:jwt-go是个人开发者的一个Go语言的JWT实现。
    jwt-go 4.0.0-preview1之前版本存在安全漏洞。攻击者可利用该漏洞在使用[]string{} for m[\"aud\"](规范允许)的情况下绕过预期的访问限制。
    影响范围:(∞, 4.0.0-preview1)
    最小修复版本:4.0.0-preview1
    缺陷组件引入路径:github.com/IAOTW/[email protected]>github.com/go-kit/[email protected]>github.com/dgrijalva/[email protected]+incompatible
    

    另外还有几个漏洞,详细报告:https://mofeisec.com/jr?p=af563b

    opened by ghost 2
Owner
IAOTW
IAOTW
provide api for cloud service like aliyun, aws, google cloud, tencent cloud, huawei cloud and so on

cloud-fitter 云适配 Communicate with public and private clouds conveniently by a set of apis. 用一套接口,便捷地访问各类公有云和私有云 对接计划 内部筹备中,后续开放,有需求欢迎联系。 开发者社区 开发者社区文档

null 24 Dec 20, 2022
Build a retractable ECS load balance network through aliyun openapi.

ECSEquilizer 通过阿里云OpenAPI建立一个可伸缩的负载均衡网络调度器。 简介 为确保代理集群网络和计算能力可以通过ECS云服务动态伸缩,所以制定实现以下策略。 节点分为static和dynamic两种,static节点是通过配置文件(config.yaml)实现预设的,固定不变。 d

B23r0 17 Jul 2, 2022
Json-log-exporter - A Nginx log parser exporter for prometheus metrics

json-log-exporter A Nginx log parser exporter for prometheus metrics. Installati

horan 0 Jan 5, 2022
Amplitude-exporter - Amplitude charts to prometheus exporter PoC

Amplitude exporter Amplitude charts to prometheus exporter PoC. Work in progress

Andrey S. Kolesnichenko 1 May 26, 2022
Vulnerability-exporter - A Prometheus Exporter for managing vulnerabilities in kubernetes by using trivy

Kubernetes Vulnerability Exporter A Prometheus Exporter for managing vulnerabili

null 24 Dec 4, 2022
Netstat exporter - Prometheus exporter for exposing reserved ports and it's mapped process

Netstat exporter Prometheus exporter for exposing reserved ports and it's mapped

Amir Hamzah 0 Feb 3, 2022
Github billing exporter - Billing exporter for GitHub organizations

GitHub billing exporter Forked From: https://github.com/borisputerka/github_bill

Simon Schneider 4 Nov 2, 2022
A Prometheus exporter, written in Golang, for Magento 2

Magento 2 Prometheus Exporter A Prometheus exporter, written in Golang, for Magento 2. Philosophy It might be abnormal to start with the "philosophy"

Julian 2 May 3, 2022
Goatmo - Dht22 prometheus exporter written in golang

description Prometheus exporter for the DHT22 written in go. usage In order to a

Skander BM 3 Aug 8, 2022
Github exporter for Prometheus metrics. Written in Go, with love ❤️

Github exporter for Prometheus This is a Github exporter for Prometheus metrics exposed by Github API. Written in Go with pluggable metrics collectors

Konradas Bunikis 2 Oct 5, 2022