/go-hello-world

Small microservice which demonstrates how to deploy to Cloud foundry

Primary LanguageGoMIT LicenseMIT

go-hello-world

Artifact Hub

Simple web application in Go, includes OpenTelemetry instrumentation.

usage

  • Build and push to a registry
  • Deploy it to any container orchestration platform (Kubernetes, Cloud foundry, etc)

environment

Variable Description
PORT Listens to PORT instead of default 8080
COLOR Assign color to the deployment.
OTLP_ADDRESS The address to send (gRPC) otel traces to

output

$ curl http://localhost:8080/
Hello, you've requested: /