Skip to content

Expose the tuning options via expvar #1333

Closed
@jpkrohling

Description

Requirement - what kind of business use case are you trying to solve?

It's not possible to check what's the current value for different tuning options, such as:

--collector.num-workers
--collector.queue-size
--discovery.conn-check-timeout
--discovery.min-peers
--memory.max-traces
--processor.*.server-max-packet-size
--processor.*.server-queue-size
--processor.*.workers
--reporter.tchannel.discovery.conn-check-timeout
--reporter.tchannel.discovery.min-peers
--reporter.tchannel.report-timeout

Proposal - what do you suggest to solve the problem or improve the existing situation?

During the startup process, store values in expvar variables and make sure /debug/expvar is always mounted on the admin port (right now it is only mounted if --metrics-backend=expvar is specified).

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions