mirror of
https://github.com/SigNoz/signoz.git
synced 2025-12-18 16:07:10 +00:00
This introduces a new Raw Data Export module to the codebase, enabling users to export raw log data via a dedicated API endpoint. The changes include the implementation of the module and handler, integration with existing infrastructure, configuration updates, and adjustments to tests and module wiring.
20 lines
393 B
Go
20 lines
393 B
Go
package implrawdataexport
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
const (
|
|
// Row Limits
|
|
MaxExportRowCountLimit = 50_000 // 50k
|
|
DefaultExportRowCountLimit = 10_000 // 10k
|
|
|
|
// Data Limits
|
|
MaxExportBytesLimit = 10 * 1024 * 1024 * 1024 // 10 GB
|
|
|
|
// Query Limits
|
|
ChunkSize = 5_000 // 5k
|
|
ClickhouseExportRawDataMaxThreads = 2
|
|
ClickhouseExportRawDataTimeout = 10 * time.Minute
|
|
)
|