Coder Social home page Coder Social logo

latchmihay / kube-prometheus-pushgateway Goto Github PK

View Code? Open in Web Editor NEW
11.0 2.0 6.0 17 KB

Kubernetes Prometheus Pushgateway in Jsonnet format

License: GNU General Public License v2.0

Makefile 18.40% Jsonnet 81.60%
jsonnet ksonnet prometheus-pushgateway kube-prometheus k8s monitoring

kube-prometheus-pushgateway's Introduction

kube-prometheus-pushgateway's People

Contributors

latchmihay avatar tome25 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

kube-prometheus-pushgateway's Issues

Prometheus not discovering prometheus-pushgateway

I tried installing prometheus pushgateway using this repo. Everything went fine. But pushgateway was not showing up in prometheus targets. Upon debugging I saw that the endpoint object prometheus-pushgateway was empty. This is becuase ther service definition of prometheus-pushgateway was pointing the target port as http whereas it should've been 9091 or the named port metrics.

I think the issue is in this specific line -

local pushgatewayPort = servicePort.newNamed('http', $._config.pushgateway.port, 'http');

I think it should be:
local pushgatewayPort = servicePort.newNamed('http', $._config.pushgateway.port, 'metrics');

Latest kube prometheus

docker run --rm -v $(pwd):$(pwd) --workdir $(pwd) quay.io/coreos/jsonnet-ci jb install github.com/latchmihay/kube-prometheus-pushgateway/prometheus-pushgateway
jb: error: invalid character 'l' looking for beginning of value

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.