-
Notifications
You must be signed in to change notification settings - Fork 512
Description
Is your feature request related to a problem?
It we have file exporter, some projects need not depend on openssl, curl, or gRPC anymore.
Describe the solution you'd like
Use OTLP utils to convert data to JSON format, just like it in OTLP HTTP exporter.
Additional context
There are some questions I want to discuss before implementing it.
In practice, we usually have log rotate to control the disk usage, but the specification does not say anything about it.
Can I add some extensions to it?
For example, if we configure the file pattern as %Y-%m-%d/otlp.%N.log and set the rotate size to three, we want to create a directory every day and rotate output file name as otlp.0.log, otlp.1.log and otlp.2.log. And we may also set alias name %Y-%m-%d/otlp.log so the otlp.log will always point to the latest one?