Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged

Conversation

jtsalva
Copy link
Contributor

@jtsalva jtsalva commented Nov 20, 2024

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
Copy link
Contributor Author

jtsalva commented Nov 20, 2024

@iancooper fyi a first draft

Copy link

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

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
Copy link
Member

@iancooper iancooper left a comment

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.

Copy link
Member

@holytshirt holytshirt left a comment

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
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
Copy link

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

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
Copy link
Contributor Author

jtsalva commented Jan 3, 2025

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

@iancooper
Copy link
Member

iancooper commented Jan 3, 2025

@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

Copy link

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

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
13 of 20 checks passed
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 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants