
com.wavefront.slug.dashboard.DashboardSlug Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of slug-generator Show documentation
Show all versions of slug-generator Show documentation
A library to generate RISON slugs for Wavefront charts
The newest version!
/*
* Copyright 2019 VMware, Inc.
* SPDX-License-Identifier: Apache-2.0
*/
package com.wavefront.slug.dashboard;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import java.util.Map;
import lombok.AllArgsConstructor;
import lombok.Builder;
/**
* Internal POJO with dashboard details.
*
* This slug only represents a dashboard's configuration, such as variables' value and time section.
* The actual dashboard details should be defined before-hand and elsewhere.
*
* @author Yutian Wu ([email protected])
*/
@Builder
@AllArgsConstructor
@JsonPropertyOrder(alphabetic = true)
class DashboardSlug {
@JsonProperty("g")
private final TimeSection timeRange;
@JsonProperty("p")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
private final Map parameters;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy