Package org.mlflow.api.proto
Interface Service.QueryTraceMetricsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Service.QueryTraceMetrics,Service.QueryTraceMetrics.Builder
- Enclosing class:
- Service
public static interface Service.QueryTraceMetricsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetAggregations(int index) Required: The aggregations to apply.intRequired: The aggregations to apply.Required: The aggregations to apply.getAggregationsOrBuilder(int index) Required: The aggregations to apply.List<? extends Service.MetricAggregationOrBuilder>Required: The aggregations to apply.getDimensions(int index) Optional: Dimensions to group metrics by.com.google.protobuf.ByteStringgetDimensionsBytes(int index) Optional: Dimensions to group metrics by.intOptional: Dimensions to group metrics by.Optional: Dimensions to group metrics by.longOptional: End of time range in milliseconds since epoch.getExperimentIds(int index) Required: The experiment IDs to search traces.com.google.protobuf.ByteStringgetExperimentIdsBytes(int index) Required: The experiment IDs to search traces.intRequired: The experiment IDs to search traces.Required: The experiment IDs to search traces.getFilters(int index) Optional: Filter expressions to apply.com.google.protobuf.ByteStringgetFiltersBytes(int index) Optional: Filter expressions to apply.intOptional: Filter expressions to apply.Optional: Filter expressions to apply.intOptional: Maximum number of data points to return.Required: The name of the metric to query (e.g.com.google.protobuf.ByteStringRequired: The name of the metric to query (e.g.Optional: Pagination token for fetching the next page of results.com.google.protobuf.ByteStringOptional: Pagination token for fetching the next page of results.longOptional: Start of time range in milliseconds since epoch.longOptional: Time interval for grouping in seconds.Required: The level at which to aggregate metrics.booleanOptional: End of time range in milliseconds since epoch.booleanOptional: Maximum number of data points to return.booleanRequired: The name of the metric to query (e.g.booleanOptional: Pagination token for fetching the next page of results.booleanOptional: Start of time range in milliseconds since epoch.booleanOptional: Time interval for grouping in seconds.booleanRequired: The level at which to aggregate metrics.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getExperimentIdsList
Required: The experiment IDs to search traces.
repeated string experiment_ids = 1;- Returns:
- A list containing the experimentIds.
-
getExperimentIdsCount
int getExperimentIdsCount()Required: The experiment IDs to search traces.
repeated string experiment_ids = 1;- Returns:
- The count of experimentIds.
-
getExperimentIds
Required: The experiment IDs to search traces.
repeated string experiment_ids = 1;- Parameters:
index- The index of the element to return.- Returns:
- The experimentIds at the given index.
-
getExperimentIdsBytes
com.google.protobuf.ByteString getExperimentIdsBytes(int index) Required: The experiment IDs to search traces.
repeated string experiment_ids = 1;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the experimentIds at the given index.
-
hasViewType
boolean hasViewType()Required: The level at which to aggregate metrics.
optional .mlflow.MetricViewType view_type = 2;- Returns:
- Whether the viewType field is set.
-
getViewType
Service.MetricViewType getViewType()Required: The level at which to aggregate metrics.
optional .mlflow.MetricViewType view_type = 2;- Returns:
- The viewType.
-
hasMetricName
boolean hasMetricName()Required: The name of the metric to query (e.g. "latency").
optional string metric_name = 3;- Returns:
- Whether the metricName field is set.
-
getMetricName
String getMetricName()Required: The name of the metric to query (e.g. "latency").
optional string metric_name = 3;- Returns:
- The metricName.
-
getMetricNameBytes
com.google.protobuf.ByteString getMetricNameBytes()Required: The name of the metric to query (e.g. "latency").
optional string metric_name = 3;- Returns:
- The bytes for metricName.
-
getAggregationsList
List<Service.MetricAggregation> getAggregationsList()Required: The aggregations to apply.
repeated .mlflow.MetricAggregation aggregations = 4; -
getAggregations
Required: The aggregations to apply.
repeated .mlflow.MetricAggregation aggregations = 4; -
getAggregationsCount
int getAggregationsCount()Required: The aggregations to apply.
repeated .mlflow.MetricAggregation aggregations = 4; -
getAggregationsOrBuilderList
List<? extends Service.MetricAggregationOrBuilder> getAggregationsOrBuilderList()Required: The aggregations to apply.
repeated .mlflow.MetricAggregation aggregations = 4; -
getAggregationsOrBuilder
Required: The aggregations to apply.
repeated .mlflow.MetricAggregation aggregations = 4; -
getDimensionsList
Optional: Dimensions to group metrics by. (e.g. "name", "status")
repeated string dimensions = 5;- Returns:
- A list containing the dimensions.
-
getDimensionsCount
int getDimensionsCount()Optional: Dimensions to group metrics by. (e.g. "name", "status")
repeated string dimensions = 5;- Returns:
- The count of dimensions.
-
getDimensions
Optional: Dimensions to group metrics by. (e.g. "name", "status")
repeated string dimensions = 5;- Parameters:
index- The index of the element to return.- Returns:
- The dimensions at the given index.
-
getDimensionsBytes
com.google.protobuf.ByteString getDimensionsBytes(int index) Optional: Dimensions to group metrics by. (e.g. "name", "status")
repeated string dimensions = 5;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the dimensions at the given index.
-
getFiltersList
Optional: Filter expressions to apply. (e.g. `trace.status="OK"`)
repeated string filters = 6;- Returns:
- A list containing the filters.
-
getFiltersCount
int getFiltersCount()Optional: Filter expressions to apply. (e.g. `trace.status="OK"`)
repeated string filters = 6;- Returns:
- The count of filters.
-
getFilters
Optional: Filter expressions to apply. (e.g. `trace.status="OK"`)
repeated string filters = 6;- Parameters:
index- The index of the element to return.- Returns:
- The filters at the given index.
-
getFiltersBytes
com.google.protobuf.ByteString getFiltersBytes(int index) Optional: Filter expressions to apply. (e.g. `trace.status="OK"`)
repeated string filters = 6;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the filters at the given index.
-
hasTimeIntervalSeconds
boolean hasTimeIntervalSeconds()Optional: Time interval for grouping in seconds. When set, results automatically include a time dimension grouped by the specified interval. Examples: 60 (minute), 3600 (hour), 86400 (day), 604800 (week), 2592000 (month).
optional int64 time_interval_seconds = 7;- Returns:
- Whether the timeIntervalSeconds field is set.
-
getTimeIntervalSeconds
long getTimeIntervalSeconds()Optional: Time interval for grouping in seconds. When set, results automatically include a time dimension grouped by the specified interval. Examples: 60 (minute), 3600 (hour), 86400 (day), 604800 (week), 2592000 (month).
optional int64 time_interval_seconds = 7;- Returns:
- The timeIntervalSeconds.
-
hasStartTimeMs
boolean hasStartTimeMs()Optional: Start of time range in milliseconds since epoch. Required if time_interval_seconds is set.
optional int64 start_time_ms = 8;- Returns:
- Whether the startTimeMs field is set.
-
getStartTimeMs
long getStartTimeMs()Optional: Start of time range in milliseconds since epoch. Required if time_interval_seconds is set.
optional int64 start_time_ms = 8;- Returns:
- The startTimeMs.
-
hasEndTimeMs
boolean hasEndTimeMs()Optional: End of time range in milliseconds since epoch. Required if time_interval_seconds is set.
optional int64 end_time_ms = 9;- Returns:
- Whether the endTimeMs field is set.
-
getEndTimeMs
long getEndTimeMs()Optional: End of time range in milliseconds since epoch. Required if time_interval_seconds is set.
optional int64 end_time_ms = 9;- Returns:
- The endTimeMs.
-
hasMaxResults
boolean hasMaxResults()Optional: Maximum number of data points to return. Default: 1000
optional int32 max_results = 10 [default = 1000];- Returns:
- Whether the maxResults field is set.
-
getMaxResults
int getMaxResults()Optional: Maximum number of data points to return. Default: 1000
optional int32 max_results = 10 [default = 1000];- Returns:
- The maxResults.
-
hasPageToken
boolean hasPageToken()Optional: Pagination token for fetching the next page of results.
optional string page_token = 11;- Returns:
- Whether the pageToken field is set.
-
getPageToken
String getPageToken()Optional: Pagination token for fetching the next page of results.
optional string page_token = 11;- Returns:
- The pageToken.
-
getPageTokenBytes
com.google.protobuf.ByteString getPageTokenBytes()Optional: Pagination token for fetching the next page of results.
optional string page_token = 11;- Returns:
- The bytes for pageToken.
-