Skip to content

Commit

Permalink
merged latest main
Browse files Browse the repository at this point in the history
Signed-off-by: Koustubh Karmalkar <[email protected]>
  • Loading branch information
Koustubh5585 committed Nov 2, 2022
2 parents 3dfde7b + f9ee36d commit 85582d7
Show file tree
Hide file tree
Showing 38 changed files with 1,501 additions and 7,983 deletions.
12 changes: 9 additions & 3 deletions dashboards-observability/common/constants/explorer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,13 @@ export enum ConfigChartOptionsEnum {
export const CUSTOM_LABEL = 'customLabel';
export const BREAKDOWNS = 'breakdowns';
export const SPAN = 'span';
export const AGGREGATION_INFO = 'At least one metric is required to render a chart';
export const DIMENSION_INFO = 'The timestamp type field can be selected as a first dimension only';
export const TIME_FIELD = 'time_field';
export const DISABLED_COLOUR = "#fafbfd";
export const DISABLED_COLOUR = '#fafbfd';
export const DATA_CONFIG_HINTS_INFO = {
[AGGREGATIONS]:
'Series is an aggregation function (mandatory). The argument of an aggregation must be a field.',
[GROUPBY]:
"Dimensions are 'by' clauses. They are fields or expressions like scalar and aggregation functions. Besides, the span clause for a dimension can be used to split a specific field into buckets in the same interval, the stats then does the aggregation by these span buckets.",
[BREAKDOWNS]:
"Defines how each series is broken down. Breakdowns are 'by' clauses that subdivide the existing series.",
};
4 changes: 3 additions & 1 deletion dashboards-observability/common/constants/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ export const DEFAULT_CHART_STYLES: DefaultChartStylesProps = {
DefaultModeLine: 'lines',
Interpolation: 'spline',
LineWidth: 2,
FillOpacity: 40,
FillOpacity: 70,
MarkerSize: 5,
ShowLegend: 'show',
LegendPosition: 'v',
Expand Down Expand Up @@ -194,3 +194,5 @@ export const PLOT_MARGIN = {
t: 50,
pad: 4,
};

export const WAITING_TIME_ON_USER_ACTIONS = 300;
Loading

0 comments on commit 85582d7

Please sign in to comment.