LogsDataSourceConfig class
Logs-based data source configuration.
Use this to run evaluations on data from stored logs.
- Inheritance
-
- Object
- EvalDataSourceConfig
- LogsDataSourceConfig
- Annotations
-
- @immutable
Constructors
-
LogsDataSourceConfig({Map<
String, dynamic> ? schema, Map<String, dynamic> ? metadata}) -
Creates a LogsDataSourceConfig.
const
-
LogsDataSourceConfig.fromJson(Map<
String, dynamic> json) -
Creates a LogsDataSourceConfig from JSON.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
-
metadata
→ Map<
String, dynamic> ? -
Metadata filters to apply when selecting logs.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
schema
→ Map<
String, dynamic> ? -
The schema for log items.
final
- type → String
-
The type of data source configuration.
no setteroverride
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Converts this to JSON.
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override