An open API service indexing awesome lists of open source software.

https://github.com/marcfrederick/imaginary-exporter

Prometheus exporter for Imaginary written in Go
https://github.com/marcfrederick/imaginary-exporter

imaginary prometheus prometheus-exporter prometheus-metrics

Last synced: 6 months ago
JSON representation

Prometheus exporter for Imaginary written in Go

Awesome Lists containing this project

README

          

# imaginary-exporter

[![License: GPL-2.0](https://img.shields.io/badge/License-GPL--2.0-blue.svg)](https://opensource.org/licenses/GPL-2.0)
[![Go Report Card](https://goreportcard.com/badge/github.com/marcfrederick/imaginary-exporter)](https://goreportcard.com/report/github.com/marcfrederick/imaginary-exporter)
[![GoDoc](https://pkg.go.dev/badge/github.com/marcfrederick/imaginary-exporter.svg)](https://pkg.go.dev/github.com/marcfrederick/imaginary-exporter)
[![Go Version](https://img.shields.io/badge/go%20version-1.20+-blue.svg)](https://golang.org/)


imaginary-exporter logo

Prometheus exporter for [Imaginary](https://github.com/h2non/imaginary) written in Go.

## Installation

### From Binary

Download the latest release from the [releases page](https://github.com/marcfrederick/imaginary-exporter/releases) and extract it to a directory in your `PATH`.

### From Source

```bash
go install github.com/marcfrederick/imaginary-exporter@latest
```

### From Homebrew

```bash
brew tap marcfrederick/homebrew-tap
brew install imaginary-exporter
```

### From Docker

```bash
docker run --name imaginary-exporter \
-p 8080:8080 \
ghcr.io/marcfrederick/imaginary-exporter:latest
```

## Compatibility

The exporter in compatible with all versions exporting the `/health` endpoint (v0.1.18+)
However, some metrics are only on versions v1.0.17+.

## Usage

```
-fetch-rate duration
interval in milliseconds in which to fetch metrics (default 15s)
-url string
url of the imaginary instance
```