Skip to content

Commit

Permalink
Plugin: updated default query setup
Browse files Browse the repository at this point in the history
  • Loading branch information
ppaulweber committed Jan 21, 2024
1 parent 0355b0b commit ade6497
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ export interface MyQuery extends DataQuery {

export const DEFAULT_QUERY: Partial<MyQuery> =
{ mode: "raw"
, surql: "info for namespace"
, surql: "info for database"
, requery: true
, timestamp: ""
, logMessage: ""
, metricData: ""
, rate: false
, rateZero: false
, rateZero: true
, rateInterval: ""
, rateFunctions: []
, rateFunctions: [ "count" ]
};

/**
Expand All @@ -39,6 +39,7 @@ export interface MyDataSourceOptions extends DataSourceJsonData {
location?: string;
nameaddr?: string;
database?: string;
scope?: string;
username?: string;
}

Expand Down

0 comments on commit ade6497

Please sign in to comment.