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

Fix missing go_trace_map cleanup #638

Merged
merged 3 commits into from
Feb 22, 2024

Conversation

grcevski
Copy link
Contributor

We didn't cleanup the go_trace_map on server request termination, which might cause a wrong traceparent to be used if the goroutine wasn't parked.

@grcevski grcevski requested a review from mariomac as a code owner February 21, 2024 19:28
@codecov-commenter
Copy link

codecov-commenter commented Feb 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (fcdf9db) 78.95% compared to head (e226382) 78.92%.
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #638      +/-   ##
==========================================
- Coverage   78.95%   78.92%   -0.04%     
==========================================
  Files          89       89              
  Lines        7474     7486      +12     
==========================================
+ Hits         5901     5908       +7     
- Misses       1252     1256       +4     
- Partials      321      322       +1     
Flag Coverage Δ
integration-test 70.09% <ø> (-0.08%) ⬇️
unittests 40.51% <ø> (-0.03%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@grcevski grcevski merged commit cc085a6 into grafana:main Feb 22, 2024
4 checks passed
@grcevski grcevski deleted the fix_trace_map_cleanup branch February 22, 2024 16:47
khushijain21 pushed a commit to nokia/beyla that referenced this pull request Feb 23, 2024
mariomac added a commit that referenced this pull request Apr 5, 2024
* test

* chart.yaml

* service-account

* after helm create

* adding rbac with changes for labels and annotations

Signed-off-by: Syed Nihal <[email protected]>

* adding rbac with changes for labels and annotations

Signed-off-by: Syed Nihal <[email protected]>

* adding rbac with changes for labels and annotations

Signed-off-by: Syed Nihal <[email protected]>

* adding rbac with changes for labels and annotations

Signed-off-by: Syed Nihal <[email protected]>

* test

chart.yaml

* service-account

* after helm create

adding rbac with changes for labels and annotations

Signed-off-by: Syed Nihal <[email protected]>

adding rbac with changes for labels and annotations

Signed-off-by: Syed Nihal <[email protected]>

adding rbac with changes for labels and annotations

Signed-off-by: Syed Nihal <[email protected]>

* adding rbac with changes for labels and annotations

Signed-off-by: Syed Nihal <[email protected]>

* Replace BEYLA_OTEL_USE_EXPONENTIAL_HISTOGRAMS by standard environment variable (#635)

* Automatic update of offsets.json (#639)

Co-authored-by: MattFrick <[email protected]>

* Fix missing go_trace_map cleanup (#638)

* add release namespace

* Update cluster-role.yaml

* Update cluster-role-binding.yaml

* values.yaml

* configmap and env

* secret ref

* values.yaml

* Update configmap.yaml

* Update configmap.yaml

* Update values.yaml

* Update configmap.yaml

* values.yaml

* configmap and daemonset changes

* 101

* changed existing configmap

* clusterolebinding

* Update cluster-role-binding.yaml

* added comments for external configmap

* adding k8s service in helm chart to expose internal beyla metrics.

Signed-off-by: Syed Nihal <[email protected]>

* affinity, updatestrategy, tolerations ...

* Update values.yaml

* Delete deployments/helm/templates/tests/test-connection.yaml

* Update values.yaml

* Update values.yaml

* Delete deployments/helm/templates/NOTES.txt

* add readme

* remove autoscaling

* remove autoscaling

* remove ingress, update configmap

* remove all ingress changes

* addressed review comments

Signed-off-by: Syed Nihal <[email protected]>

---------

Signed-off-by: Syed Nihal <[email protected]>
Co-authored-by: Syed Nihal <[email protected]>
Co-authored-by: Mario Macias <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: MattFrick <[email protected]>
Co-authored-by: Nikola Grcevski <[email protected]>
Co-authored-by: Nihal <[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