Code Monkey home page Code Monkey logo

prometheus-hcloud-sd's People

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

Forkers

jodersky gc-ss

prometheus-hcloud-sd's Issues

Built binaries are not static

Currently the built binaries are not really static, they got a dependency on muslc, this needs to be fixed, otherwise the Docker images are broken.

Use bingo for development tooling

Instead of adding development tooling to the regular go.mod file we should use bingo to version used tools like calens, golint, reflex and staticcheck to make sure we always use versions known to work properly.

Implement the new HTTP SD

Since Prometheus implements a HTTP SD with the new version 2.28 we should provide an endpoint for this implementation as an alternative to the regular file handler.

Action Required: Fix Renovate Configuration

There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.

Location: .github/renovate.json
Error type: The renovate configuration file contains some invalid settings
Message: Invalid configuration option: dockerfile.enableMajor

Update dependencies and Go version

We need to update the used Go version and on the same run we should also update all dependencies to the latest version to keep everything properly up to date.

Wrong content type for HTTP SD

The HTTP SD within Prometheus accepts only application/json as a content type, so we need to drop the utf-8 encoding part from the content type.

Drop darwin/386 release builds

We got to drop the darwin/386 builds, they are not supported by the used Go version anymore. Soonish we should also add arm64 builds to stay compatible with current macOS hardware.

Add healthcheck command

We should add a healthcheck command to make it easier for Docker containers to check if the service is running without the external healtchecks available via Kubernetes.

Prevent invalid labels

Hetzner Cloud allows using ., - and _ in labels. While underscores works as expected, labels containing the other two chars, especially used in the key of a label, results in an "invalid label error" e.g. a label a.b.c:example results in __meta_hcloud_label_a.b.c="example". Maybe a simple replace logic should be used to prevent invalid labels.

Continue file processing on error

With the current behavior the resulting SD config doesn't get updated anymore if one of the projects fails, the config should be continued if one of the projects fails, otherwise it results in an not updated SD config.

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Repository problems

These problems occurred while renovating this repository. View logs.

  • WARN: Use matchDepNames instead of matchPackageNames

This repository currently has no open or pending branches.

Detected dependencies

dockerfile
docker/Dockerfile.linux.386
  • i386/alpine 3.19@sha256:15c46ced65c6abed6a27472a7904b04273e9a8091a5627badd6ff016ab073171
docker/Dockerfile.linux.amd64
  • alpine 3.19@sha256:6457d53fb065d6f250e1504b9bc42d5b6c65941d57532c072d929dd0628977d0
docker/Dockerfile.linux.arm
  • arm32v6/alpine 3.19@sha256:b229a85166aadbde58e73e03c5e2b9737fb4642ffb2d98ba453adc90d144c1d8
docker/Dockerfile.linux.arm64
  • arm64v8/alpine 3.19@sha256:a0264d60f80df12bc1e6dd98bae6c43debe6667c0ba482711f0d806493467a46
github-actions
.github/workflows/automerge.yml
  • tibdex/github-app-token v2
  • dependabot/fetch-metadata v2
.github/workflows/binaries.yml
  • actions/checkout v4
  • actions/setup-go v5
  • actionhippie/gpgsign v1
  • actionhippie/calens v1
  • ncipollo/release-action v1
.github/workflows/changes.yml
  • actions/checkout v4
  • actions/checkout v4
  • actions/setup-go v5
  • EndBug/add-and-commit v9
  • actions/checkout v4
  • actions/checkout v4
  • actions/setup-go v5
  • EndBug/add-and-commit v9
  • actions/checkout v4
  • actions/checkout v4
  • actions/setup-go v5
  • EndBug/add-and-commit v9
.github/workflows/docker.yml
  • actions/checkout v4
  • actions/setup-go v5
  • docker/metadata-action v5
  • docker/setup-qemu-action v3
  • docker/setup-buildx-action v3
  • docker/login-action v3
  • docker/login-action v3
  • docker/login-action v3
  • docker/build-push-action v5
  • actions/checkout v4
  • docker/metadata-action v5
  • actionhippie/manifest v1
  • docker/metadata-action v5
  • actionhippie/manifest v1
  • docker/metadata-action v5
  • actionhippie/manifest v1
  • actions/checkout v4
  • actionhippie/pushrm v1
  • actionhippie/pushrm v1
.github/workflows/docs.yml
  • actions/checkout v4
  • peaceiris/actions-hugo v3
  • peaceiris/actions-gh-pages v4
.github/workflows/general.yml
  • actions/checkout v4
  • actions/setup-go v5
  • codacy/codacy-coverage-reporter-action v1
.github/workflows/kustomize.yml
  • actions/checkout v4
  • actionhippie/kustomize v2
gomod
go.mod
  • go 1.21
  • go 1.22.3
  • github.com/go-chi/chi/v5 v5.0.12
  • github.com/go-kit/log v0.2.1
  • github.com/hetznercloud/hcloud-go/v2 v2.8.0
  • github.com/joho/godotenv v1.5.1
  • github.com/oklog/run v1.1.0
  • github.com/prometheus/client_golang v1.19.1
  • github.com/prometheus/common v0.53.0
  • github.com/prometheus/exporter-toolkit v0.11.0
  • github.com/stretchr/testify v1.9.0
  • github.com/urfave/cli/v2 v2.27.2
  • gopkg.in/yaml.v3 v3.0.1
kustomize
deploy/kubernetes/kustomization.yml

  • Check this box to trigger a request for Renovate to run again on this repository

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.