
com.wavefront.slug.chart.ChartSlug 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.chart;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import java.util.List;
import lombok.AllArgsConstructor;
import lombok.Builder;
/**
* Internal POJO with chart details and start time and end time
*
* @author Yutian Wu ([email protected])
*/
@Builder
@AllArgsConstructor
@JsonPropertyOrder(alphabetic = true)
public class ChartSlug {
@JsonProperty("t")
private final String customerId;
@JsonProperty("c")
private final Chart chart;
@JsonProperty("g")
private final TimeRange timeRange;
@JsonProperty("h")
@JsonInclude(JsonInclude.Include.NON_EMPTY) // included in serialized string if not empty.
private final List focusedHosts;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy