From 563901d516d6c60d1b65557d3fe227c9a1a04f08 Mon Sep 17 00:00:00 2001 From: Kai Date: Wed, 16 Mar 2022 03:49:17 +0800 Subject: [PATCH] Add missing .env and update README (#67) Co-authored-by: Tristan Sloughter --- examples/basic_phoenix_ecto/.env | 11 +++++++++++ examples/basic_phoenix_ecto/README.md | 3 ++- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 examples/basic_phoenix_ecto/.env diff --git a/examples/basic_phoenix_ecto/.env b/examples/basic_phoenix_ecto/.env new file mode 100644 index 0000000..6e11811 --- /dev/null +++ b/examples/basic_phoenix_ecto/.env @@ -0,0 +1,11 @@ +DATABASE_URL=ecto://postgres:postgres@postgres/demo_dev +SECRET_KEY_BASE=J2yvvaGbOmvsFVOnzgdWzGJtCbgSOC7aFhWziMgEFnT1T2CiWE0a67FZw8i87yRS +PHX_SERVER=true +PHX_HOST=localhost + +# If you are exporting to the following 3rd party service, +# do remember to update the following: +# HONEYCOMB_TEAM=your_honeycomb_team +# HONEYCOMB_DATASET=your_honeycomb_dataset +# LIGHTSTEP_ACCESS_TOKEN=your_lightstep_access_token + diff --git a/examples/basic_phoenix_ecto/README.md b/examples/basic_phoenix_ecto/README.md index a5fcab7..91cdd33 100644 --- a/examples/basic_phoenix_ecto/README.md +++ b/examples/basic_phoenix_ecto/README.md @@ -10,7 +10,8 @@ Jaeger][5] respectively. Additionally, we also include the OpenTelemetry Collector and `opentelemetry_exporter` configuration to export the traces to external services like [Honeycomb](https://www.honeycomb.io/) and -[Lightstep](https://lightstep.com/). +[Lightstep](https://lightstep.com/). Do remember to update the `.env` file to +include your crendentials if you're doing so. ## Getting Stated