Package jetbrains.buildServer.metrics
Interface ServerMetricsReader
-
- All Known Subinterfaces:
ServerMetricsEx
- All Known Implementing Classes:
ServerMetricsFactory
public interface ServerMetricsReader- Author:
- kir
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetAllMetricsText(MetricQueryBuilder metricQuery)MetricQueryBuilderprojectQueryBuilder(Collection<String> projectExtIds)Returns a query builder for metrics created withServerMetrics.projectMetricBuilder(String, String, String)builder.MetricQueryBuilderqueryBuilder()
-
-
-
Method Detail
-
getAllMetricsText
@NotNull String getAllMetricsText(@NotNull MetricQueryBuilder metricQuery)
- Parameters:
metricQuery- specifies configured list of metrics for the output- Returns:
- text of all metrics in /metrics format
-
queryBuilder
@NotNull MetricQueryBuilder queryBuilder()
- Returns:
- A query builder to obtain metric values
-
projectQueryBuilder
MetricQueryBuilder projectQueryBuilder(@Nullable Collection<String> projectExtIds)
Returns a query builder for metrics created withServerMetrics.projectMetricBuilder(String, String, String)builder.- Parameters:
projectExtIds- Collection with projectIds for the reported metrics. If all projects should be returned, pass null.- Returns:
- see above
- Since:
- 2022.08
-
-