GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - bragfoo/TiPrometheus

BranchesTags
Open more actions menu

Latest commit

 

History

62 Commits
62 Commits

Folders and files

NameName
Last commit message
Last commit date
cmd
cmd
 
 
pkg
pkg
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
Makefile.common
Makefile.common
 
 
README.md
README.md
 
 
conf.toml.example
conf.toml.example
 
 
go.mod
go.mod
 
 
go.sum
go.sum
 
 

Repository files navigation

TiPrometheus

A adapter/gateway for TiKV.

Supports remote write and read.

Transport security is optional and can be enabled both between Prometheus and the adapter and for communication with the TiKV cluster.

Quick Start

Build:

go build -o tiprometheus cmd/tiprometheus/app.go

Rename the example configuration conf.example.toml to conf.toml and adapt the parameters to your needs.

Run with:

./tiprometheus -conf conf.toml

Configuration

TiPrometheus is configured through a TOML file. See conf.example.toml for an example.

Options

  • PDHost The PD cluster host to connect to. TiPrometheus does not connect directly to the TiKV cluster, but uses the PD cluster to obtain a node address.
  • TimeInterval (Unknown)
  • AdapterListen Which IP address and port the adapter should listen on, separated by :. To listen on 0.0.0.0, only write : followed by the port.
  • AdapterEnableTLS If true, TLS will be enabled on the Prometheus connection. AdapterServerCertificate and AdapterServerKey must be specified as well.
  • AdapterCACertificate The CA certificate used to validate connections from Prometheus. If not specified, all clients can connect without authentication.
  • AdapterServerCertificate The server certificate to use for the listener.
  • AdapterServerKey The key for AdapterServerCertificate
  • TiKVEnableTLS If true, TLS will be enabled on the PD/TiKV connection. TiKVCACertificate, TiKVClientCertificate and TiKVClientKey must be specified as well.
  • TiKVCACertificate The CA certificate used to validate the server certificate sent by PD/TiKV.
  • TiKVClientCertificate The client certificate to use for authentication on PD/TiKV.
  • TiKVClientKey The key for TiKVClientCertificate.

Sections

The configuration file can contain multiple sections to allow quick switching between development/production environments.

Set the environment variable RunTime to the section you would like to enable:

Run with:

RunTime=dev ./tiprometheus -conf conf.toml

About

No description, website, or topics provided.

Resources

Readme
Apache-2.0 license
Activity
Custom properties

Stars

76 stars

Watchers

6 watching

Forks

12 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.