Documentation
¶
Index ¶
- Constants
- func IsValueInSliceString(value string, list []string) bool
- func LoadDbDescriptions(dir string) (map[string]interface{}, error)
- func NewError(status string, message string) error
- type ColumnSchema
- type ColumnSchemas
- type EntryValue
- type KeyValue
- type QuerierParams
- type Result
- type ServiceError
- type TempoParams
Constants ¶
View Source
const ( SUCCESS = "SUCCESS" FAIL = "FAIL" INVALID_PARAMETERS = "INVALID_PARAMETERS" RESOURCE_NOT_FOUND = "RESOURCE_NOT_FOUND" RESOURCE_ALREADY_EXIST = "RESOURCE_ALREADY_EXIST" PARAMETER_ILLEGAL = "PARAMETER_ILLEGAL" INVALID_POST_DATA = "INVALID_POST_DATA" SERVER_ERROR = "SERVER_ERROR" RESOURCE_NUM_EXCEEDED = "RESOURCE_NUM_EXCEEDED" SELECTED_RESOURCES_NUM_EXCEEDED = "SELECTED_RESOURCES_NUM_EXCEEDED" )
View Source
const ( TAP_PORT_HOST = "tap_port_host" TAP_PORT_CHOST = "tap_port_chost" TAP_PORT_POD_NODE = "tap_port_pod_node" )
View Source
const ( COLUMN_SCHEMA_TYPE_TAG = iota COLUMN_SCHEMA_TYPE_METRICS )
Variables ¶
This section is empty.
Functions ¶
func IsValueInSliceString ¶
func LoadDbDescriptions ¶
Types ¶
type ColumnSchema ¶
type ColumnSchema struct { Name string Unit string Type int ValueType string PreAS string LabelType string }
func NewColumnSchema ¶
func NewColumnSchema(name, preAS, labelType string) *ColumnSchema
func (*ColumnSchema) ToMap ¶
func (c *ColumnSchema) ToMap() map[string]interface{}
type ColumnSchemas ¶
type ColumnSchemas []*ColumnSchema
func (*ColumnSchemas) ToArray ¶
func (c *ColumnSchemas) ToArray() []interface{}
type EntryValue ¶
type QuerierParams ¶
type Result ¶
type Result struct { Columns []interface{} Values []interface{} Schemas ColumnSchemas }
type ServiceError ¶
func (*ServiceError) Error ¶
func (e *ServiceError) Error() string
type TempoParams ¶
type TempoParams struct { TraceId string StartTime string EndTime string TagName string MinDuration string MaxDuration string Limit string Debug string Filters []*KeyValue Context context.Context }
func (*TempoParams) SetFilters ¶
func (p *TempoParams) SetFilters(filterStr string)
Click to show internal directories.
Click to hide internal directories.