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

feat: update dependencies (part 2/2, otel) #1305

Closed
wants to merge 11 commits into from
Closed

Conversation

J0
Copy link
Contributor

@J0 J0 commented Nov 9, 2023

What kind of change does this PR introduce?

Part 2/2, follow on from #1304

@J0 J0 marked this pull request as ready for review November 14, 2023 03:18
@J0 J0 requested a review from a team as a code owner November 14, 2023 03:18
statusCode1 := getAttribute(attributes1, semconv.HTTPStatusCodeKey)
assert.Equal(ts.T(), int64(404), statusCode1.AsInt64())

attributes2 := spans[1].Attributes()
method2 := getAttribute(attributes2, semconv.HTTPMethodKey)
assert.Equal(ts.T(), "GET", method2.AsString())
url2 := getAttribute(attributes2, semconv.HTTPTargetKey)
assert.Equal(ts.T(), "http://localhost/something2", url2.AsString())
// url2 := getAttribute(attributes2, semconv.HTTPTargetKey)
Copy link
Contributor Author

@J0 J0 Nov 14, 2023

Choose a reason for hiding this comment

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

Might need help with getting this section to work - not sure how to best debug

@J0 J0 closed this Nov 14, 2023
@J0
Copy link
Contributor Author

J0 commented Nov 14, 2023

Closed in favour of #1309 as we don't have bandwidth to test review such a large PR atm

@J0 J0 mentioned this pull request May 21, 2024
J0 added a commit that referenced this pull request Jun 7, 2024
## What kind of change does this PR introduce?

Spiritual successor to #1305 where we attempt to bump the OTEL version
from v1.10.0 to v1.26.0 which has a few breaking changes


## How this was tested

We used a local setup with honeycomb with tracing and metrics enabled.
We then triggered
- a cleanup to test `gotrue_cleanup_affected_rows`
- a few password sign ins to test
`gotrue_compare_hash_and_password_submitted`
- Checked if `gotrue_running` was present
- Checked that DB traces were still present

DB Trace:

<img width="1108" alt="CleanShot 2024-05-23 at 20 46 02@2x"
src="https://github.com/supabase/auth/assets/8011761/a365badb-08c3-4184-aef8-83624082d08d">


Metrics:

<img width="1064" alt="CleanShot 2024-05-23 at 20 41 51@2x"
src="https://github.com/supabase/auth/assets/8011761/1fc7743e-fc87-42a1-bf11-d14c739d5b67">
uxodb pushed a commit to uxodb/auth that referenced this pull request Nov 13, 2024
## What kind of change does this PR introduce?

Spiritual successor to supabase#1305 where we attempt to bump the OTEL version
from v1.10.0 to v1.26.0 which has a few breaking changes


## How this was tested

We used a local setup with honeycomb with tracing and metrics enabled.
We then triggered
- a cleanup to test `gotrue_cleanup_affected_rows`
- a few password sign ins to test
`gotrue_compare_hash_and_password_submitted`
- Checked if `gotrue_running` was present
- Checked that DB traces were still present

DB Trace:

<img width="1108" alt="CleanShot 2024-05-23 at 20 46 02@2x"
src="https://github.com/supabase/auth/assets/8011761/a365badb-08c3-4184-aef8-83624082d08d">


Metrics:

<img width="1064" alt="CleanShot 2024-05-23 at 20 41 51@2x"
src="https://github.com/supabase/auth/assets/8011761/1fc7743e-fc87-42a1-bf11-d14c739d5b67">
LashaJini pushed a commit to LashaJini/auth that referenced this pull request Nov 13, 2024
## What kind of change does this PR introduce?

Spiritual successor to supabase#1305 where we attempt to bump the OTEL version
from v1.10.0 to v1.26.0 which has a few breaking changes


## How this was tested

We used a local setup with honeycomb with tracing and metrics enabled.
We then triggered
- a cleanup to test `gotrue_cleanup_affected_rows`
- a few password sign ins to test
`gotrue_compare_hash_and_password_submitted`
- Checked if `gotrue_running` was present
- Checked that DB traces were still present

DB Trace:

<img width="1108" alt="CleanShot 2024-05-23 at 20 46 02@2x"
src="https://github.com/supabase/auth/assets/8011761/a365badb-08c3-4184-aef8-83624082d08d">


Metrics:

<img width="1064" alt="CleanShot 2024-05-23 at 20 41 51@2x"
src="https://github.com/supabase/auth/assets/8011761/1fc7743e-fc87-42a1-bf11-d14c739d5b67">
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.

1 participant