Class KustoEmitter
Generate Kusto (Azure Data Explorer) queries for computing metrics.
Inherited Members
Namespace: Mangrove.MetricSetEmitters
Assembly: MetricSetEmitters.dll
Syntax
public class KustoEmitter : IEmitter, IGenericMetricsPlanTransformer<IDictionary<string, MemoryStream>>
Constructors
View SourceKustoEmitter(String, String, ILogger)
Create a Kusto emitter.
Declaration
public KustoEmitter(string scriptName, string preamble, ILogger logger)
Parameters
| Type | Name | Description |
|---|---|---|
| String | scriptName | Name of the script to create. |
| String | preamble | Arbitrary text to put inside a comment at the start of the generated script. |
| ILogger | logger | Logger implementation to be used for script emission |
Properties
View SourceAssumption
Declaration
public IMetricsPlanValidator Assumption { get; }
Property Value
| Type | Description |
|---|---|
| IMetricsPlanValidator |
Extern
Declaration
public ExternKind Extern { get; }
Property Value
| Type | Description |
|---|---|
| ExternKind |
Methods
View SourceTransform(MetricsPlan)
Declaration
public IDictionary<string, MemoryStream> Transform(MetricsPlan plan)
Parameters
| Type | Name | Description |
|---|---|---|
| MetricsPlan | plan |
Returns
| Type | Description |
|---|---|
| IDictionary<String, MemoryStream> |