mirror of
https://github.com/hanzoai/metrics.git
synced 2026-10-30 20:03:39 +00:00
Commit adds the following changes: * Adds support of OpenTelemetry logs for Victoria Logs with protobuf encoded messages * json encoding is not supported for the following reasons: - It brings a lot of fragile code, which works inefficiently. - json encoding is impossible to use with language SDK. * splits metrics and logs structures at lib/protoparser/opentelemetry/pb package. * adds docs with examples for opentelemetry logs. --- Related issue: https://github.com/VictoriaMetrics/VictoriaMetrics/issues/4839 Co-authored-by: AndrewChubatiuk <[email protected]> Co-authored-by: f41gh7 <[email protected]>
11 lines
133 B
Go
11 lines
133 B
Go
package fs
|
|
|
|
import (
|
|
"os"
|
|
)
|
|
|
|
func fadviseSequentialRead(_ *os.File, _ bool) error {
|
|
// TODO: implement this properly
|
|
return nil
|
|
}
|