Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/logs-view-ui: Logs view implementation for Visualization #31

Closed
wants to merge 19 commits into from
Closed
Show file tree
Hide file tree
Changes from 18 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions dashboards-observability/common/constants/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ export enum visChartTypes {
Text = 'text',
Gauge = 'gauge',
Histogram = 'histogram',
TreeMap = 'tree_map'
TreeMap = 'tree_map',
LogsView = 'logs_view'
}

export interface ValueOptionsAxes {
Expand All @@ -97,7 +98,7 @@ export interface ValueOptionsAxes {

export const NUMERICAL_FIELDS = ['short', 'integer', 'long', 'float', 'double'];

export const ENABLED_VIS_TYPES = [visChartTypes.Bar, visChartTypes.HorizontalBar, visChartTypes.Line, visChartTypes.Pie, visChartTypes.HeatMap, visChartTypes.Text, visChartTypes.TreeMap, visChartTypes.Gauge, visChartTypes.Histogram];
export const ENABLED_VIS_TYPES = [visChartTypes.Bar, visChartTypes.HorizontalBar, visChartTypes.Line, visChartTypes.Pie, visChartTypes.HeatMap, visChartTypes.Text, visChartTypes.TreeMap, visChartTypes.Gauge, visChartTypes.Histogram, visChartTypes.LogsView];

//Live tail constants
export const LIVE_OPTIONS = [
Expand Down
2 changes: 1 addition & 1 deletion dashboards-observability/common/types/explorer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,8 @@ export interface IConfigPanelOptionSection {
mapTo: string;
props?: any;
isSingleSelection?: boolean;
defaultState?: number;
eleType?: string;
defaultState?: boolean | string;
}

export interface IVisualizationTypeDefination {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ exports[`Utils helper functions renders displayVisualization function 1`] = `
"editor": [Function],
"id": "data-panel",
"mapTo": "dataConfig",
"name": "Data",
"name": "Style",
"sections": Array [
Object {
"editor": [Function],
Expand Down Expand Up @@ -447,7 +447,7 @@ exports[`Utils helper functions renders displayVisualization function 1`] = `
"editor": [Function],
"id": "data-panel",
"mapTo": "dataConfig",
"name": "Data",
"name": "Style",
"sections": Array [
Object {
"editor": [Function],
Expand Down Expand Up @@ -831,7 +831,7 @@ exports[`Utils helper functions renders displayVisualization function 1`] = `
"editor": [Function],
"id": "data-panel",
"mapTo": "dataConfig",
"name": "Data",
"name": "Style",
"sections": Array [
Object {
"editor": [Function],
Expand Down Expand Up @@ -1373,7 +1373,7 @@ exports[`Utils helper functions renders displayVisualization function 2`] = `
"editor": [Function],
"id": "data-panel",
"mapTo": "dataConfig",
"name": "Data",
"name": "Style",
"sections": Array [
Object {
"editor": [Function],
Expand Down Expand Up @@ -1706,7 +1706,7 @@ exports[`Utils helper functions renders displayVisualization function 2`] = `
"editor": [Function],
"id": "data-panel",
"mapTo": "dataConfig",
"name": "Data",
"name": "Style",
"sections": Array [
Object {
"editor": [Function],
Expand Down Expand Up @@ -2093,7 +2093,7 @@ exports[`Utils helper functions renders displayVisualization function 2`] = `
"editor": [Function],
"id": "data-panel",
"mapTo": "dataConfig",
"name": "Data",
"name": "Style",
"sections": Array [
Object {
"editor": [Function],
Expand Down Expand Up @@ -2511,7 +2511,7 @@ exports[`Utils helper functions renders displayVisualization function 3`] = `
"editor": [Function],
"id": "data-panel",
"mapTo": "dataConfig",
"name": "Data",
"name": "Style",
"sections": Array [
Object {
"editor": [Function],
Expand Down Expand Up @@ -2721,7 +2721,7 @@ exports[`Utils helper functions renders displayVisualization function 3`] = `
"editor": [Function],
"id": "data-panel",
"mapTo": "dataConfig",
"name": "Data",
"name": "Style",
"sections": Array [
Object {
"editor": [Function],
Expand Down Expand Up @@ -2954,7 +2954,7 @@ exports[`Utils helper functions renders displayVisualization function 3`] = `
"editor": [Function],
"id": "data-panel",
"mapTo": "dataConfig",
"name": "Data",
"name": "Style",
"sections": Array [
Object {
"editor": [Function],
Expand Down Expand Up @@ -3319,7 +3319,7 @@ exports[`Utils helper functions renders displayVisualization function 4`] = `
"editor": [Function],
"id": "data-panel",
"mapTo": "dataConfig",
"name": "Data",
"name": "Style",
"sections": Array [
Object {
"editor": [Function],
Expand Down Expand Up @@ -3502,7 +3502,7 @@ exports[`Utils helper functions renders displayVisualization function 4`] = `
"editor": [Function],
"id": "data-panel",
"mapTo": "dataConfig",
"name": "Data",
"name": "Style",
"sections": Array [
Object {
"editor": [Function],
Expand Down Expand Up @@ -3708,7 +3708,7 @@ exports[`Utils helper functions renders displayVisualization function 4`] = `
"editor": [Function],
"id": "data-panel",
"mapTo": "dataConfig",
"name": "Data",
"name": "Style",
"sections": Array [
Object {
"editor": [Function],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1136,6 +1136,8 @@ export const Explorer = ({
explorerVisualizations,
setToast,
pplService,
explorerFields,
explorerData
}}
>
<div className="dscAppContainer">
Expand Down
Loading