Tracing attributes #1488

Merged
fyrchik merged 1 commit from dstepanov-yadro/frostfs-node:feat/tracing_attrs into master 2024-11-20 15:43:54 +00:00

This allows to specify key-value attributes for all spans.

Example:
image

This allows to specify key-value attributes for all spans. Example: ![image](/attachments/a58db042-afc8-404b-91b9-f424ba52516c)
194 KiB
dstepanov-yadro added 4 commits 2024-11-12 08:38:01 +00:00
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
[#9999] Makefile: Drop all containers created on env-up
Some checks failed
Tests and linters / Tests with -race (pull_request) Failing after 1m27s
Vulncheck / Vulncheck (pull_request) Failing after 1m26s
DCO action / DCO (pull_request) Successful in 1m47s
Tests and linters / Tests (pull_request) Failing after 1m49s
Tests and linters / Run gofumpt (pull_request) Successful in 1m48s
Build / Build Components (pull_request) Failing after 2m2s
Tests and linters / Staticcheck (pull_request) Failing after 1m57s
Pre-commit hooks / Pre-commit (pull_request) Failing after 2m12s
Tests and linters / Lint (pull_request) Failing after 2m38s
Tests and linters / gopls check (pull_request) Failing after 2m48s
4b6123c4c4
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
dstepanov-yadro force-pushed feat/tracing_attrs from 4b6123c4c4 to 933a1b577d 2024-11-12 09:04:54 +00:00 Compare
dstepanov-yadro force-pushed feat/tracing_attrs from 933a1b577d to 8c0714cd40 2024-11-12 09:42:46 +00:00 Compare
dstepanov-yadro requested review from storage-core-committers 2024-11-12 10:31:05 +00:00
dstepanov-yadro requested review from storage-core-developers 2024-11-12 10:31:06 +00:00
dstepanov-yadro changed title from WIP: Tracing attributes to Tracing attributes 2024-11-12 10:31:23 +00:00
acid-ant approved these changes 2024-11-12 11:18:42 +00:00
Dismissed
fyrchik reviewed 2024-11-12 11:55:22 +00:00
fyrchik left a comment
Owner

Please, use go.mod: as prefix for the first commit, as we already do, without inventing something new.

Please, use `go.mod:` as prefix for the first commit, as we already do, without inventing something new.
@ -261,3 +261,2 @@
"endpoint": "localhost:9090",
"endpoint": "localhost",
"exporter": "otlp_grpc",
"trusted_ca": "/etc/ssl/tracing.pem"
Owner

trusted_ca and endpoint changes seem unrelated to the commit.

`trusted_ca` and `endpoint` changes seem unrelated to the commit.
Owner

Oh, so we had them here, but they were not tested, am I right?

Oh, so we had them here, but they were not tested, am I right?
Author
Member

This config was not covered by tests, so it is required to change the examples to write the tests.

This config was not covered by tests, so it is required to change the examples to write the tests.
fyrchik marked this conversation as resolved
fyrchik approved these changes 2024-11-12 12:11:18 +00:00
Dismissed
fyrchik reviewed 2024-11-12 12:17:17 +00:00
@ -17,0 +25,4 @@
environment:
- COLLECTOR_OTLP_ENABLED=true
- SPAN_STORAGE_TYPE=badger
- BADGER_EPHEMERAL=false
Owner

I was under impression, that BADGER_EPHEMERAL uses temporary file-system, which is exactly what you do below, although explicitly.
Why not just use true here?

I was under impression, that `BADGER_EPHEMERAL` uses temporary file-system, which is exactly what you do below, although explicitly. Why not just use `true` here?
Author
Member

copy-pasted from dev-env, but in dev-env repository persisted volume was used.

copy-pasted from dev-env, but in dev-env repository persisted volume was used.
Author
Member

fixed

fixed
fyrchik marked this conversation as resolved
dstepanov-yadro force-pushed feat/tracing_attrs from 8c0714cd40 to f1556e3c42 2024-11-12 14:25:05 +00:00 Compare
dstepanov-yadro dismissed acid-ant's review 2024-11-12 14:25:05 +00:00
Reason:

New commits pushed, approval review dismissed automatically according to repository settings

dstepanov-yadro dismissed fyrchik's review 2024-11-12 14:25:05 +00:00
Reason:

New commits pushed, approval review dismissed automatically according to repository settings

Author
Member

Please, use go.mod: as prefix for the first commit, as we already do, without inventing something new.

I trusted autofill:( fixed

> Please, use `go.mod:` as prefix for the first commit, as we already do, without inventing something new. I trusted autofill:( fixed
dstepanov-yadro requested review from fyrchik 2024-11-12 14:32:54 +00:00
dstepanov-yadro requested review from acid-ant 2024-11-12 14:32:59 +00:00
fyrchik approved these changes 2024-11-12 19:07:51 +00:00
fyrchik merged commit f1556e3c42 into master 2024-11-13 06:49:43 +00:00
Sign in to join this conversation.
No reviewers
TrueCloudLab/storage-core-developers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-node#1488
No description provided.