Skip to main content

getMetric

Function getMetric in pulumi-logtail.
1 min read

Function getMetric in pulumi-logtail.

Invoke token: logtail:index/getMetric:getMetric.

Example#

Only required arguments are set. A string in angle brackets stands in for that argument. Any other value is an option or example written in the SDK description.

getMetricOutput accepts Input values and returns Output of the same result.

Arguments#

PropertyTypeRequiredDescription
namestringyes
sourceIdstringyes

Result#

PropertyTypeAlways presentDescription
aggregationsstring[]yes
idstringyes
namestringyes
sourceIdstringyes
sqlExpressionstringyes
typestringyes