Module zipkin.tracer | Enterprise
Документация на русском языке
поддерживается сообществом
Module zipkin.tracer

Module zipkin.tracer

Client for Zipkin

Functions

new (config, sampler)

Init new Zipkin Tracer

Parameters:

  • config: Table with Zipkin configuration

    • base_url: (table) Zipkin API base url

    • api_method: (table) API method to send spans to zipkin

    • report_interval: (table) Interval of reports to zipkin

    • spans_limit: (optional number) Limit of a spans buffer (1k by default)

    • on_error: (optional function) On error callback that apply error in string format

    • spans_limit: (optional number) Limit of a spans buffer (1k by default)

  • sampler: (table) Table that contains function samplethat is apply span name and mark this span for further report

Returns:

(table) context

Or

(nil) nil

(string) error

Нашли ответ на свой вопрос?
Обратная связь