Value
This is the official documentation of the agent_ruby Ruby agent.

Value Charts display a single numerical value.
They can be added to a Dashboard using the addChart method on the agent object
Or to the "Analytics" Tab of a Collection using the addChart method on the collection object
Optionally, an older value can be provided to the resultBuilder to display a growth percentage on the top right of the widget as in the following Chart display:

Traditional Syntax
Using full context methods with add_chart:
DSL Syntax
Using simplified DSL with chart:
Last updated
Was this helpful?