Kevin Franklin Kim 552e6491d2
Test Branch / test (push) Canceled after 0s
Merge pull request #315 from foomo/feature/remove-depreacted-metrics
feat!: remove deprecated metrics package
2026-10-01 10:44:41 +02:00
2026-10-01 09:50:27 +02:00
2025-11-07 14:15:03 +01:00
2026-10-01 09:50:27 +02:00
2026-10-01 09:50:27 +02:00
2026-10-01 09:50:27 +02:00
2026-10-01 09:50:27 +02:00
2026-10-01 09:50:27 +02:00
2026-10-01 09:50:27 +02:00
2026-10-01 09:50:27 +02:00
2026-10-01 09:50:27 +02:00
2026-10-01 09:50:27 +02:00
2026-10-01 09:50:27 +02:00
2026-10-01 09:50:27 +02:00
2026-10-01 09:50:27 +02:00
2026-10-01 09:50:27 +02:00
2021-11-19 14:16:09 +01:00
2026-04-22 00:04:52 +02:00
2026-03-16 16:48:45 +01:00
2026-02-24 13:59:01 +01:00
2026-03-03 15:41:43 +01:00
2026-10-01 09:50:27 +02:00
2026-10-01 09:50:27 +02:00
2026-10-01 09:50:27 +02:00
2026-10-01 09:50:27 +02:00
2026-10-01 09:50:27 +02:00
2026-10-01 09:50:27 +02:00
2026-10-01 09:50:27 +02:00
2024-11-22 09:15:21 +01:00
2026-10-01 08:45:30 +02:00
2026-08-06 17:16:54 +02:00
2026-10-01 09:50:27 +02:00
2026-08-05 10:05:34 +02:00
2026-10-01 09:50:27 +02:00
2026-10-01 09:50:27 +02:00
2026-10-01 09:50:27 +02:00
2026-10-01 09:50:27 +02:00
2026-10-01 09:50:27 +02:00

GoDoc Coverage GitHub Stars

keel

keel

Opinionated way to run services on Kubernetes

Stack

  • Zap
  • Nats
  • Viper
  • GoTSRPC
  • Temporal
  • OpenTelemetry

Examples

See the examples folder for usages

package main

import (
  "net/http"

  "github.com/foomo/keel"
  "github.com/foomo/keel/service"
)

func main() {
  svr := keel.NewServer(
    keel.WithHTTPZapService(true),
    keel.WithHTTPViperService(true),
    keel.WithHTTPPrometheusService(true),
  )

  l := svr.Logger()

  svs := newService()

  svr.AddService(
    service.NewHTTP(l, "demo", "localhost:8080", svs),
  )

  svr.Run()
}

func newService() *http.ServeMux {
  s := http.NewServeMux()
  s.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
    w.WriteHeader(http.StatusOK)
    _, _ = w.Write([]byte("OK"))
  })
  return s
}

How to Contribute

Contributions are welcome! Please read the contributing guide.

Contributors

License

Distributed under MIT License, please read the license file for more details.

Made with ♥ foomo by bestbytes

S
Description
No description provided
Readme MIT
5.2 MiB
Languages
Go 99.3%
Makefile 0.7%