Code Monkey home page Code Monkey logo

prometheus-hcloud-sd's Issues

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.

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.

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.

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.

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.

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

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.20@sha256:bdea2fc06762f63b168e481c88a732e73d856b98c9a504f2c749c867ef9d41ac
docker/Dockerfile.linux.amd64
  • alpine 3.20@sha256:216266c86fc4dcef5619930bd394245824c2af52fd21ba7c6fa0e618657d4c3b
docker/Dockerfile.linux.arm
  • arm32v6/alpine 3.20@sha256:4a6ffef76277d8c1d912ad489e0c09ddc09fdf7aefae51750a33dc47478c0cc0
docker/Dockerfile.linux.arm64
  • arm64v8/alpine 3.20@sha256:1c3b93ed450e26eac89b471d6d140e2f99488f489739b8b8ea5e8202dd086f82
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

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.

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.

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.