Skip to content

Commit d0672b0

Browse files
KaymeKaydexquedafoeasmyasnikov
authored
Adopt pprof label for pyroscope supported format (#1947)
Co-authored-by: quedafoe <quedafoe@yandex-team.ru> Co-authored-by: Aleksey Myasnikov <asmyasnikov@ydb.tech>
1 parent 65f9f47 commit d0672b0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
* Changed internal pprof label to pyroscope supported format
12
* Added `query.ImplicitTxControl()` transaction control (the same as `query.NoTx()` and `query.EmptyTxControl()`). See more about implicit transactions on [ydb.tech](https://ydb.tech/docs/en/concepts/transactions?version=v25.2#implicit)
23
* Added `SnapshotReadWrite` isolation mode support to `database/sql` driver using `sql.TxOptions{Isolation: sql.LevelSnapshot, ReadOnly: false}`
34

internal/background/worker.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ func (b *Worker) init() {
134134
b.tasks = make(chan backgroundTask)
135135
b.tasksCompleted = make(empty.Chan)
136136

137-
pprof.Do(b.ctx, pprof.Labels("worker-name", b.name), func(ctx context.Context) {
137+
pprof.Do(b.ctx, pprof.Labels("worker_name", b.name), func(ctx context.Context) {
138138
go b.starterLoop(ctx)
139139
})
140140
})

0 commit comments

Comments
 (0)