Skip to main content

Static Configurations

By default, zipkin plugin NGINX variables configuration is set to false in the default configuration:

To modify this value, add the updated configuration to config.yaml. For example:

plugin_attr:
zipkin:
set_ngx_var: true

Reload APISIX for changes to take effect.

Parameters

See plugin common configurations for configuration options available to all plugins.

  • endpoint

    string


    required


    Zipkin span endpoint to POST to, such as http://127.0.0.1:9411/api/v2/spans.

  • sample_ratio

    number


    required


    vaild vaule:

    between 0.00001 and 1 inclusive


    Frequency to sample requests. Setting to 1 means sampling every request.

  • service_name

    string


    default: APISIX


    Service name for the Zipkin reporter to be displayed in Zipkin.

  • server_addr

    string


    default: the value of $server_addr


    vaild vaule:

    IPv4 address


    IPv4 address for the Zipkin reporter. For example, you can set this to your external IP address.

  • span_version

    integer


    default: 2


    vaild vaule:

    1 or 2


    Version of the span type.


API7.ai Logo

API Management for Modern Architectures with Edge, API Gateway, Kubernetes, and Service Mesh.

Product

API7 Cloud

SOC2 Type IIISO 27001HIPAAGDPRRed Herring

Copyright © APISEVEN PTE. LTD 2019 – 2024. Apache, Apache APISIX, APISIX, and associated open source project names are trademarks of the

Apache Software Foundation