Skip to content

[Docs] Add ADR for generating metrics from traces#3389

Merged
iancooper merged 4 commits into
BrighterCommand:masterfrom
jtsalva:adr_generate_metrics_from_traces
Jan 3, 2025
Merged

[Docs] Add ADR for generating metrics from traces#3389
iancooper merged 4 commits into
BrighterCommand:masterfrom
jtsalva:adr_generate_metrics_from_traces

Conversation

@jtsalva

@jtsalva jtsalva commented Nov 20, 2024

Copy link
Copy Markdown
Contributor

This aims to be a good enough starting point. There are more metrics I think Brighter could provide and some ideas on how, things like ApproximateAgeOfOldestMessage - deferring for later discussion.

@jtsalva

jtsalva commented Nov 20, 2024

Copy link
Copy Markdown
Contributor Author

@iancooper fyi a first draft

@codescene-delta-analysis codescene-delta-analysis Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Health Quality Gates: OK

No scoreable code touched

View detailed results in CodeScene

@jtsalva jtsalva marked this pull request as ready for review November 21, 2024 10:26

@iancooper iancooper left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks @jtsalva. This looks great.

@holytshirt holytshirt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nicely written up, thank you!

@iancooper

Copy link
Copy Markdown
Member

BTW @jtsalva

We should follow the Metrics conventions for Open Telemetry, In particular, we will want to make sure that we use the Messaging metric conventions, for Brighter when it is sending a message or receiving a message. It would be nice to also to use the Db Metric conventions, for our *box implementations.

For the traces, I built against the in-memory bus and *box options first, so that I can then go through and add these to the real implementations; that might work as an approach here too. It lets you break up the PRs for example.

jtsalva added a commit to jtsalva/Brighter that referenced this pull request Jan 3, 2025

@codescene-delta-analysis codescene-delta-analysis Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Health Quality Gates: OK

No scoreable code touched

View detailed results in CodeScene

@jtsalva

jtsalva commented Jan 3, 2025

Copy link
Copy Markdown
Contributor Author

@iancooper makes sense. I've updated this ADR and raised #3453, both ready for review :)

@iancooper

iancooper commented Jan 3, 2025

Copy link
Copy Markdown
Member

@iancooper makes sense. I've updated this ADR and raised #3453, both ready for review :)

Great, I think the ADR is nicely written, so very happy to approve. Will review #3453

@codescene-delta-analysis codescene-delta-analysis Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Health Quality Gates: OK

No scoreable code touched

View detailed results in CodeScene

@iancooper iancooper merged commit d5522e6 into BrighterCommand:master Jan 3, 2025
iancooper added a commit that referenced this pull request Jan 3, 2025
* [Feature] Generate metrics from traces #3389

* Minor fixes

* Add name to new files

---------

Co-authored-by: Ian Cooper <ian_hammond_cooper@yahoo.co.uk>
@jtsalva jtsalva deleted the adr_generate_metrics_from_traces branch January 7, 2025 21:17
DevJonny pushed a commit to DevJonny/Brighter that referenced this pull request Feb 28, 2026
…mand#3389)

* Drafting metrics from traces adr

* Drafting

* Update in line with code changes

---------

Co-authored-by: Ian Cooper <ian_hammond_cooper@yahoo.co.uk>
DevJonny pushed a commit to DevJonny/Brighter that referenced this pull request Feb 28, 2026
* [Feature] Generate metrics from traces BrighterCommand#3389

* Minor fixes

* Add name to new files

---------

Co-authored-by: Ian Cooper <ian_hammond_cooper@yahoo.co.uk>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants