metrixio/docker 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

metrixio/docker

最新稳定版本:1.0.0

Composer 安装命令:

composer create-project metrixio/docker

包简介

This tool lets you easily gather data about downloads, stars, and followers from Docker. It works with Prometheus and Grafana to collect data.

README 文档

README

docker

This tool lets you easily gather data about downloads, stars, and followers from Docker Hub.

It works with Prometheus and Grafana to collect data from Docker, store it in Prometheus, and create visualizations with Grafana. You can use Grafana to customize the data you collect and create dashboards that fit your needs.

We hope you find it helpful!

Dashboard

image

Usage

Check out the documentation in the dashboard repository. That should give you all the details you need to get going.

# Docker repository names to follow (comma separated)
DOCKER_REPOSITORIES= ...

Docker

version: "3.7"

services:
  docker-metrics:
    image: ghcr.io/metrixio/docker:latest
    environment:
        DOCKER_REPOSITORIES: ...
    restart: on-failure

  prometheus:
    image: prom/prometheus
    volumes:
      - ./runtime/prometheus:/prometheus
    restart: always

  grafana:
    image: grafana/grafana
    depends_on:
      - prometheus
    ports:
      - 3000:3000
    volumes:
      - ./runtime/grafana:/var/lib/grafana
    restart: always

Local server

composer create-project metrixio/docker

Define the repositories you want to track in .env file

DOCKER_REPOSITORIES=spiral/roadrunner,...

Once the project is installed and configured you can start application server:

./rr serve

Metrics will be available on http://127.0.0.1:2112.

Note: To fix unable to open metrics page, change metrics address in RoadRunner config file to 127.0.0.1:2112.

The package is built with some of the best tools out there for PHP. It's powered by Spiral Framework, which makes it super fast and efficient, and it uses RoadRunner as the server, which is a really great tool for collecting metrics data for Prometheus.

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-12-26

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固