mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-10-14 20:01:28 +00:00
feat: Implement templates for dashboards (#28)
This commit is contained in:
@@ -14,6 +14,14 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
export type DashboardItem = {
|
||||
id?: string;
|
||||
entity: string;
|
||||
layer: string;
|
||||
isRoot: boolean;
|
||||
name: string;
|
||||
};
|
||||
export interface LayoutConfig {
|
||||
x: number;
|
||||
y: number;
|
||||
@@ -38,8 +46,8 @@ export interface WidgetConfig {
|
||||
export interface StandardConfig {
|
||||
sortOrder?: string;
|
||||
unit?: string;
|
||||
max?: string;
|
||||
min?: string;
|
||||
labelsIndex?: string;
|
||||
metricLabels?: string;
|
||||
plus?: string;
|
||||
minus?: string;
|
||||
multiply?: string;
|
||||
@@ -99,6 +107,7 @@ export interface ServiceListConfig {
|
||||
type?: string;
|
||||
dashboardName: string;
|
||||
fontSize: number;
|
||||
showGroup: boolean;
|
||||
}
|
||||
|
||||
export interface InstanceListConfig {
|
||||
|
Reference in New Issue
Block a user