All Products
Search
Document Center

Microservices Engine:GatewayOption

Last Updated:Apr 17, 2024
ParameterTypeDescriptionExample
object

The detailed configurations of the gateway.

TraceDetailsobject

The data structure.

TraceEnabledboolean

Specifies whether to activate Tracing Analysis.

Valid value:

  • false

  • true

true
Samplelong

The sampling rate of Tracing Analysis.

10
TraceTypestring

The type of Tracing Analysis. Valid values: XTRACE and SKYWALKING.

XTRACE
ServiceIdlong

The ID of the SkyWalking service. This parameter is required if TraceType is set to SKYWALKING.

10458
ServicePortstring

The port of the SkyWalking service. This parameter is required if TraceType is set to SKYWALKING.

80
LogConfigDetailsobject

The description of Simple Log Service.

LogEnabledboolean

Specifies whether to activate Simple Log Service.

Valid value:

  • true

  • false

true
ProjectNamestring

The name of the destination Simple Log Service project.

project
LogStoreNamestring

The name of the Logstore.

name
EnableHardwareAccelerationboolean

Specifies whether to enable hardware acceleration.

true
DisableHttp2Alpnboolean

Specifies whether to disable the HTTP/2 protocol.

true
EnableWafboolean

Specifies whether to enable Web Application Firewall (WAF).

true