Skip to content

Commit

Permalink
feat: annotate measurements with their architecture (#540)
Browse files Browse the repository at this point in the history
  • Loading branch information
bassosimone authored Oct 13, 2021
1 parent 46e0088 commit 43c349f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/engine/experiment.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (
"errors"
"net/http"
"os"
"runtime"
"time"

"github.com/ooni/probe-cli/v3/internal/bytecounter"
Expand Down Expand Up @@ -272,6 +273,7 @@ func (e *Experiment) newMeasurement(input string) *model.Measurement {
m.AddAnnotation("engine_name", "ooniprobe-engine")
m.AddAnnotation("engine_version", version.Version)
m.AddAnnotation("platform", e.session.Platform())
m.AddAnnotation("architecture", runtime.GOARCH)
return m
}

Expand Down

0 comments on commit 43c349f

Please sign in to comment.