Skip to content

Commit

Permalink
chore: adding metric tags
Browse files Browse the repository at this point in the history
Signed-off-by: Lucas Fontes <[email protected]>
  • Loading branch information
lxfontes committed Nov 21, 2024
1 parent f97e837 commit a5c20d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion blaster.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func (w *wasiBlaster) doBlast(options sobek.Value) error {
if state := w.vu.State(); state == nil {
return fmt.Errorf("missing state blaster")
} else {
tagSet = state.Tags.GetCurrentValues().Tags
tagSet = state.Tags.GetCurrentValues().Tags.WithTagsFromMap(w.tags)
}

timeout := DefaultBlasterTimeout
Expand Down
2 changes: 1 addition & 1 deletion wasihttp.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ func (w *wasiHTTP) request(method string, url sobek.Value, args ...sobek.Value)
if state := w.vu.State(); state == nil {
return nil, fmt.Errorf("missing state wasihttp")
} else {
tagSet = state.Tags.GetCurrentValues().Tags
tagSet = state.Tags.GetCurrentValues().Tags.WithTagsFromMap(w.tags)
}
timeout := DefaultHTTPTimeout
consumeBody := false
Expand Down

0 comments on commit a5c20d6

Please sign in to comment.