Skip to content

Commit

Permalink
Update docs/guides/advanced/using-environments.md
Browse files Browse the repository at this point in the history
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
  • Loading branch information
ChristopherGS and Kludex committed Nov 14, 2024
1 parent 754b2e6 commit 125f27c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions docs/guides/advanced/using-environments.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ import logfire

logfire.configure(environment='dev')

from app.main import main

main()
logfire.info("Hi there!")
```

Under the hood, this sets the OTel [`deployment.environment.name`](https://opentelemetry.io/docs/specs/semconv/resource/deployment-environment/).
Expand Down

0 comments on commit 125f27c

Please sign in to comment.