Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* build: instead of PROD, use SHUTTLE_ENV to know in which environment we are * feat: setup logappender to send logs to datadog, fix configuration - Since Datadog isn't using the `events` from the span to setup logs, we instead rely on the logging pipeline from OpenTelemetry. - Fix the Otel collector configuration to correctly work with Datadog: - Correctly set the environment key (need to use the OPTL way to set it, not Datadog). - Transform the resource.name from name to have span show the right resource. Done both through a transfo and with span_name_as_resource_name. - Change in our tracing configuration for span to use `service.name` instead of `service`, because that's the official OPTL way of doing. fix(otlp): export to honeycomb still build: update Cargo.lock * fix(deployer): improved proxy instrumentation We shouldn't add everything as attributes to the span from the arguments. And we should avoid logging the display value of some values, and instead reach for the string. Examble with the FQDN, we want to have the hostname, not `FQDN(\x06foo.shuttleapp.rs\n)`. * ref: remove ShuttleEnv tracing configuration, don't log in JSON Not necessary anymore since we're not relying on ingesting stdout logs. * fix(tracing): env attributes not set correctly for Datadog * fmt: common mods.rs * fix(otel): remove deployment.environment mapping in collector This messes up Datadog understanding of this tag, for some reason. * circleci: add missing env when deploying images * fmt: common/backends/mod.rs * feat(gateway/project): set attributes in tracing logs * typo(gateway/project): fix typo in log statement Co-authored-by: Iulian Barbu <14218860+iulianbarbu@users.noreply.github.com> * build: remove patch from Cargo.lock * fmt(gateway/project): format file --------- Co-authored-by: Iulian Barbu <14218860+iulianbarbu@users.noreply.github.com>
- Loading branch information
1 parent
187acc5
commit a03d051
Showing
16 changed files
with
401 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.