30.340. Class OpenTelemetryDataModelMapping
Namespace: ArmoniK.Core.ProfilingTools.OpenTelemetryExporter
Assembly: ArmoniK.Core.ProfilingTools.dll
public class OpenTelemetryDataModelMapping : IMongoDataModelMapping<OpenTelemetryData>
30.340.1. Inheritance
30.340.2. Implements
30.340.3. Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
30.340.4. Properties
30.340.4.1. CollectionName
Gets the name of the MongoDB collection associated with the data model.
public string CollectionName { get; }
30.340.4.1.1. Property Value
30.340.5. Methods
30.340.5.1. InitializeIndexes(MongoDB)
Setup indexes for the collection Can be called multiple times
public ICollection<CreateIndexModel<OpenTelemetryData>> InitializeIndexes(MongoDB options)
30.340.5.1.1. Parameters
options MongoDB
Options for MongoDB
30.340.5.1.2. Returns
ICollection<CreateIndexModel<OpenTelemetryData>>
Task representing the asynchronous execution of the method