@@ -318,7 +318,7 @@ impl Server {
318
318
. to ( logstream:: delete)
319
319
. authorize_for_stream ( Action :: DeleteStream ) ,
320
320
)
321
- . app_data ( web:: PayloadConfig :: default ( ) . limit ( MAX_EVENT_PAYLOAD_SIZE ) ) ,
321
+ . app_data ( web:: JsonConfig :: default ( ) . limit ( MAX_EVENT_PAYLOAD_SIZE ) ) ,
322
322
)
323
323
. service (
324
324
// GET "/logstream/{logstream}/info" ==> Get info for given log stream
@@ -404,7 +404,7 @@ impl Server {
404
404
. to ( ingest:: ingest)
405
405
. authorize_for_stream ( Action :: Ingest ) ,
406
406
)
407
- . app_data ( web:: PayloadConfig :: default ( ) . limit ( MAX_EVENT_PAYLOAD_SIZE ) )
407
+ . app_data ( web:: JsonConfig :: default ( ) . limit ( MAX_EVENT_PAYLOAD_SIZE ) )
408
408
}
409
409
410
410
// /v1/logs endpoint to be used for OTEL log ingestion only
@@ -417,7 +417,7 @@ impl Server {
417
417
. to ( ingest:: handle_otel_logs_ingestion)
418
418
. authorize_for_stream ( Action :: Ingest ) ,
419
419
)
420
- . app_data ( web:: PayloadConfig :: default ( ) . limit ( MAX_EVENT_PAYLOAD_SIZE ) ) ,
420
+ . app_data ( web:: JsonConfig :: default ( ) . limit ( MAX_EVENT_PAYLOAD_SIZE ) ) ,
421
421
)
422
422
. service (
423
423
web:: resource ( "/metrics" )
@@ -426,7 +426,7 @@ impl Server {
426
426
. to ( ingest:: handle_otel_metrics_ingestion)
427
427
. authorize_for_stream ( Action :: Ingest ) ,
428
428
)
429
- . app_data ( web:: PayloadConfig :: default ( ) . limit ( MAX_EVENT_PAYLOAD_SIZE ) ) ,
429
+ . app_data ( web:: JsonConfig :: default ( ) . limit ( MAX_EVENT_PAYLOAD_SIZE ) ) ,
430
430
)
431
431
. service (
432
432
web:: resource ( "/traces" )
@@ -435,7 +435,7 @@ impl Server {
435
435
. to ( ingest:: handle_otel_traces_ingestion)
436
436
. authorize_for_stream ( Action :: Ingest ) ,
437
437
)
438
- . app_data ( web:: PayloadConfig :: default ( ) . limit ( MAX_EVENT_PAYLOAD_SIZE ) ) ,
438
+ . app_data ( web:: JsonConfig :: default ( ) . limit ( MAX_EVENT_PAYLOAD_SIZE ) ) ,
439
439
)
440
440
}
441
441
0 commit comments