Files
MarioandGitHub 8e498e13d8 Update OTel collector to v0.57.2 (#1757)
* Upgrade OTel collector to v0.57.2

* Fixes and more fixes

* Remove collector replace directive

* Update otel tracing instrumentation

* Merge import blocks

* Changelog

* Change carriers to opentracing.TextMap

* Address comments
2022-09-28 06:51:44 +00:00

15 lines
320 B
Go

// Copyright 2021 Tobias Klauser. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package sysconf
import "golang.org/x/sys/unix"
func sysconf(name int) (int64, error) {
if name < 0 {
return -1, errInvalid
}
return unix.Sysconf(name)
}