Tarantool CE/EE Documentation portal logo
Support
Updated at October 22, 2026   11:37 AM

metrics.plugins.json

export()

Export metrics in the JSON format.

Returns

a string containing metrics in the JSON format

Return type

string

Example

local json_plugin = require('metrics.plugins.json')local json_metrics = json_plugin.export()

Example on GitHub: metrics_plugins