{"repo":"ricoberger/echoserver","free":true,"listed":false,"github":"https://github.com/ricoberger/echoserver","clone":"git clone https://github.com/ricoberger/echoserver.git","description":"A simple HTTP and gRPC server that demonstrates the use of OpenTelemetry for metrics, logs, traces and profiles.","language":"Go","stars":11,"topics":["echoserver","go","docker","kubernetes","logs","metrics","otel","profiles","traces"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"echoserver The echoserver is a HTTP / gRPC server written in Go, which was mainly written to dump HTTP requests. Nowadays it can also be used to test / showcase the instrumentation of a Go application with metrics, logs, traces and profiles. It can also be used to test the timeout / header size configuration of a reverse proxy. Building and Running To build and run the echoserver the following commands can be used: Via Docker the following commands can be used to build the image and run the echoserver : The echoserver can also be deployed on Kubernetes via Helm: Configuration Usage HTTP Endpoints - / : Dump the HTTP request. - /health : Returns a 200 status code. - /panic : Panics within the http handler and returns a status code 500. - /status : Returns a random status code, when the status parameter is empty or random . Return the status code specified in the status parameter, e.g. ?status=200 . - /timeout : Wait the given amount of time ( ?timeout=1m ) before returning a 200 status code. The optional flush parameter ( ?timeout=10s&flush=2s ) writes and flushes a message in the given interval while waiting. - /headersize : Returns a 200 status code with a header X-Header-Size of the size defined via ?size=1024 . - /request : Returns the response of the requested server. The request body should have the following structure: {\"method\": \"POST\", \"url\": \"http://localhost:8080/\", \"body\": \"test\", \"headers\": {\"x-test\": \"test\"}} - /fibonacci : Returns the Fibonacci number for the gi","default_branch":null,"files":null,"tree":[],"storefront":"/r/ricoberger","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ricoberger/echoserver/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}