Skip to content

feat(otel): update OpenTelemetry to 0.32 and improve it's usage#76

Open
reneca wants to merge 7 commits into
mainfrom
otel
Open

feat(otel): update OpenTelemetry to 0.32 and improve it's usage#76
reneca wants to merge 7 commits into
mainfrom
otel

Conversation

@reneca

@reneca reneca commented May 26, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@reneca reneca self-assigned this May 26, 2026
@reneca reneca added the enhancement New feature or request label May 26, 2026
@reneca reneca marked this pull request as draft May 26, 2026 14:56
reneca added 4 commits May 30, 2026 17:03
Signed-off-by: Jeremy HERGAULT <jeremy.hergault@worldline.com>
Signed-off-by: Jeremy HERGAULT <jeremy.hergault@worldline.com>
Signed-off-by: Jeremy HERGAULT <jeremy.hergault@worldline.com>
Signed-off-by: Jeremy HERGAULT <jeremy.hergault@worldline.com>
Signed-off-by: Jeremy HERGAULT <jeremy@hergault.fr>
@reneca reneca marked this pull request as ready for review May 30, 2026 18:41
@reneca reneca requested review from Timmy80 and oschijns May 30, 2026 18:41
Signed-off-by: Jeremy HERGAULT <jeremy.hergault@worldline.com>
Comment thread prosa/src/inj/proc.rs Outdated
Comment on lines +104 to +114
/// use prosa::core::main::{MainProc, MainRunnable};
/// use prosa::core::proc::{proc, Proc, ProcBusParam, ProcConfig};
/// use prosa::inj::adaptor::InjDummyAdaptor;
/// use prosa::inj::proc::{InjProc, InjSettings};
/// use prosa_utils::config::observability::Observability;
/// use prosa::{
/// core::{
/// main::{MainProc, MainRunnable},
/// proc::{proc, Proc, ProcBusParam, ProcConfig},
/// settings::{settings, observability::Observability},
/// },
/// inj::{
/// adaptor::InjDummyAdaptor,
/// proc::{InjProc, InjSettings},
/// },
/// };

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we could use the mod::* pattern in documentation to reduce the amount of imports necessary and focus the documentation on the actual example.

/// use prosa::{core::{main::*, proc::*, settings::*}, inj::{adaptor::*, proc::*}};
/// use prosa_utils::msg::simple_string_tvf::SimpleStringTvf;
/// use serde::Serialize;

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes let's do this. Let's consider no other symbols will have the same name.

Comment thread prosa/src/stub/proc.rs Outdated
Comment on lines +42 to +52
/// use prosa::core::main::{MainProc, MainRunnable};
/// use prosa::core::proc::{proc, Proc, ProcBusParam, ProcConfig};
/// use prosa::stub::adaptor::StubParotAdaptor;
/// use prosa::stub::proc::{StubProc, StubSettings};
/// use prosa_utils::config::observability::Observability;
/// use prosa::{
/// core::{
/// main::{MainProc, MainRunnable},
/// proc::{proc, Proc, ProcBusParam, ProcConfig},
/// settings::{settings, observability::Observability},
/// },
/// stub::{
/// adaptor::StubParotAdaptor,
/// proc::{StubProc, StubSettings},
/// },
/// };

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here, imports could be simplified further.

/// use prosa::{core::{main::*, proc::*, settings::*}, stub::{adaptor::*, proc::*}};
/// use prosa_utils::msg::simple_string_tvf::SimpleStringTvf;
/// use serde::Serialize;

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here ok.

Comment thread prosa/src/lib.rs
Comment thread prosa_book/src/ch02-04-observability.md
Signed-off-by: Jeremy HERGAULT <jeremy.hergault@worldline.com>
@reneca reneca requested a review from oschijns June 1, 2026 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants