Ryan McGuire c8e461729f
All checks were successful
Build and Publish / release (push) Has been skipped
Build and Publish / check-chart (push) Successful in 9s
Build and Publish / helm-release (push) Has been skipped
rename, add Makefile rename support
2025-03-31 10:13:02 -04:00
2025-03-30 20:41:35 -04:00
2025-01-03 17:13:15 -05:00
2025-03-30 20:19:25 -04:00
2025-03-31 10:13:02 -04:00
2025-03-31 10:13:02 -04:00
2025-03-30 20:31:52 -04:00
2025-03-30 20:39:46 -04:00
2025-03-30 20:35:31 -04:00
2025-03-30 20:31:52 -04:00
2025-03-31 10:13:02 -04:00
2025-03-31 10:13:02 -04:00
2025-03-31 10:13:02 -04:00
2025-03-30 11:38:56 -04:00
2025-01-03 19:54:04 +00:00
2025-03-31 10:13:02 -04:00
2025-03-31 10:13:02 -04:00
2025-03-31 10:13:02 -04:00
2025-03-30 18:08:16 -04:00

go-server-with-otel

Template for a go HTTP + GRPC server with OTEL support. Uses the go-app framework to easily bootstrap a new app with all the bells and whistles.

The provided proto returns a random fact, and serves only as a reference. It has support for grpc-gateway, and produces an openapi2/swagger spec for use with postman, etc..

Getting Started

  1. Rename your package using make rename NAME=my.gitremote.com/pathto/repo
  2. Review the config struct, adding any app-specific configuration
    1. This will be merged with the go-app config, giving logging/http/grpc configuration for free
  3. Generate a new json schema, for use with your config.yaml: make schema
    1. Ensure you have yaml+json tags
    2. The yaml-language-server lsp plugin for your favorite editor should pull in the schema using the comment in config.yaml
  4. Implement your things
Description
Template for a go server with HTTP, GRPC, and OTEL support
Readme MIT 199 KiB
Languages
Go 69.2%
Makefile 25.5%
Dockerfile 5.3%