From ff50fa50853bb0096fa7a34694c3a6c04026bd8d Mon Sep 17 00:00:00 2001 From: Kevin Franklin Kim Date: Mon, 11 Sep 2023 13:57:06 +0200 Subject: [PATCH] feat: fix metrics readme --- service/httpreadme_test.go | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/service/httpreadme_test.go b/service/httpreadme_test.go index 3da0c69..b1b735b 100644 --- a/service/httpreadme_test.go +++ b/service/httpreadme_test.go @@ -82,19 +82,21 @@ func ExampleNewHTTPReadme() { // // List of all accessed environment variables. // - // | Key | Type | Required | Default | - // | ------------------------- | -------- | -------- | ------- | - // | `EXAMPLE_BOOL` | `bool` | | | - // | `EXAMPLE_REQUIRED_BOOL` | `bool` | | | - // | `EXAMPLE_REQUIRED_BOOL` | `bool` | `true` | | - // | `EXAMPLE_REQUIRED_STRING` | `string` | | | - // | `EXAMPLE_REQUIRED_STRING` | `string` | `true` | | - // | `EXAMPLE_STRING` | `string` | | `demo` | - // | `LOG_DISABLE_CALLER` | `bool` | | | - // | `LOG_DISABLE_STACKTRACE` | `bool` | | | - // | `LOG_ENCODING` | `string` | | `json` | - // | `LOG_LEVEL` | `string` | | `info` | - // | `LOG_MODE` | `string` | | `prod` | + // | Key | Type | Required | Default | + // | ------------------------- | -------- | -------- | --------- | + // | `EXAMPLE_BOOL` | `bool` | | | + // | `EXAMPLE_REQUIRED_BOOL` | `bool` | | | + // | `EXAMPLE_REQUIRED_BOOL` | `bool` | `true` | | + // | `EXAMPLE_REQUIRED_STRING` | `string` | | | + // | `EXAMPLE_REQUIRED_STRING` | `string` | `true` | | + // | `EXAMPLE_STRING` | `string` | | `demo` | + // | `LOG_DISABLE_CALLER` | `bool` | | | + // | `LOG_DISABLE_STACKTRACE` | `bool` | | | + // | `LOG_ENCODING` | `string` | | `json` | + // | `LOG_LEVEL` | `string` | | `info` | + // | `LOG_MODE` | `string` | | `prod` | + // | `OTEL_ENABLED` | `bool` | | | + // | `OTEL_SERVICE_NAME` | `string` | | `service` | // // ### Config //