Show / Hide Table of Contents

Class KustoEmitter

Generate Kusto (Azure Data Explorer) queries for computing metrics.

Inheritance
Object
KustoEmitter
Implements
IEmitter
IGenericMetricsPlanTransformer<IDictionary<String, MemoryStream>>
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Mangrove.MetricSetEmitters
Assembly: MetricSetEmitters.dll
Syntax
public class KustoEmitter : IEmitter, IGenericMetricsPlanTransformer<IDictionary<string, MemoryStream>>

Constructors

View Source

KustoEmitter(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 Source

Assumption

Declaration
public IMetricsPlanValidator Assumption { get; }
Property Value
Type Description
IMetricsPlanValidator
View Source

Extern

Declaration
public ExternKind Extern { get; }
Property Value
Type Description
ExternKind

Methods

View Source

Transform(MetricsPlan)

Declaration
public IDictionary<string, MemoryStream> Transform(MetricsPlan plan)
Parameters
Type Name Description
MetricsPlan plan
Returns
Type Description
IDictionary<String, MemoryStream>

Implements

IEmitter
IGenericMetricsPlanTransformer<T>

Extension Methods

ObjectExtensions.EventId(Object)
  • View Source
Back to top Generated by DocFX