@@ -13,7 +13,7 @@ import (
13
13
"go.opentelemetry.io/collector/pdata/pprofile"
14
14
"go.opentelemetry.io/otel/attribute"
15
15
16
- semconv "go.opentelemetry.io/otel/semconv/v1.30 .0"
16
+ semconv "go.opentelemetry.io/otel/semconv/v1.34 .0"
17
17
18
18
"go.opentelemetry.io/ebpf-profiler/libpf"
19
19
"go.opentelemetry.io/ebpf-profiler/reporter/samples"
@@ -162,7 +162,7 @@ func (p *Pdata) setProfile(
162
162
// semantic convention for build_id, replace these hard coded
163
163
// strings.
164
164
attrMgr .AppendOptionalString (mapping .AttributeIndices (),
165
- semconv .ProcessExecutableBuildIDGnuKey ,
165
+ semconv .ProcessExecutableBuildIDGNUKey ,
166
166
ei .GnuBuildID )
167
167
attrMgr .AppendOptionalString (mapping .AttributeIndices (),
168
168
semconv .ProcessExecutableBuildIDHtlhashKey ,
@@ -226,7 +226,7 @@ func (p *Pdata) setProfile(
226
226
for key , value := range traceInfo .EnvVars {
227
227
attrMgr .AppendOptionalString (
228
228
sample .AttributeIndices (),
229
- attribute .Key ("env ." + key ),
229
+ attribute .Key ("process.environment_variable ." + key ),
230
230
value )
231
231
}
232
232
0 commit comments