Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type ClusterMetrics ¶
type ClusterMetricsBuilder ¶
type ClusterMetricsBuilder struct {
Ssvc Service
}
func (ClusterMetricsBuilder) BuildCoreMetrics ¶
func (b ClusterMetricsBuilder) BuildCoreMetrics(clusters []Cluster, pipelines []PipelineSummary) (*ResourceMetrics, error)
type ExecutorInfo ¶
type ExecutorInfo struct { Resources struct{} `json:"resources"` Attributes struct{} `json:"attributes"` ExecutorLogs struct { Stdout string `json:"stdout,omitempty"` Stderr string `json:"stderr,omitempty"` } `json:"executorLogs"` AddTime string `json:"addTime"` HostPort string `json:"hostPort"` ID string `json:"id"` ExcludedInStages []interface{} `json:"excludedInStages"` BlacklistedInStages []interface{} `json:"blacklistedInStages"` PeakMemoryMetrics struct { JVMHeapMemory int64 `json:"JVMHeapMemory"` JVMOffHeapMemory int `json:"JVMOffHeapMemory"` OnHeapExecutionMemory int `json:"OnHeapExecutionMemory"` OffHeapExecutionMemory int `json:"OffHeapExecutionMemory"` OnHeapStorageMemory int `json:"OnHeapStorageMemory"` OffHeapStorageMemory int `json:"OffHeapStorageMemory"` OnHeapUnifiedMemory int `json:"OnHeapUnifiedMemory"` OffHeapUnifiedMemory int `json:"OffHeapUnifiedMemory"` DirectPoolMemory int `json:"DirectPoolMemory"` MappedPoolMemory int `json:"MappedPoolMemory"` ProcessTreeJVMVMemory int `json:"ProcessTreeJVMVMemory"` ProcessTreeJVMRSSMemory int `json:"ProcessTreeJVMRSSMemory"` ProcessTreePythonVMemory int `json:"ProcessTreePythonVMemory"` ProcessTreePythonRSSMemory int `json:"ProcessTreePythonRSSMemory"` ProcessTreeOtherVMemory int `json:"ProcessTreeOtherVMemory"` ProcessTreeOtherRSSMemory int `json:"ProcessTreeOtherRSSMemory"` MinorGCCount int `json:"MinorGCCount"` MinorGCTime int `json:"MinorGCTime"` MajorGCCount int `json:"MajorGCCount"` MajorGCTime int `json:"MajorGCTime"` TotalGCTime int `json:"TotalGCTime"` } `json:"peakMemoryMetrics"` MemoryMetrics struct { UsedOnHeapStorageMemory int `json:"usedOnHeapStorageMemory"` UsedOffHeapStorageMemory int `json:"usedOffHeapStorageMemory"` TotalOnHeapStorageMemory int64 `json:"totalOnHeapStorageMemory"` TotalOffHeapStorageMemory int `json:"totalOffHeapStorageMemory"` } `json:"memoryMetrics"` MaxTasks int `json:"maxTasks"` CompletedTasks int `json:"completedTasks"` TotalDuration int `json:"totalDuration"` TotalGCTime int `json:"totalGCTime"` TotalInputBytes int64 `json:"totalInputBytes"` TotalShuffleRead int `json:"totalShuffleRead"` TotalShuffleWrite int `json:"totalShuffleWrite"` ResourceProfileID int `json:"resourceProfileId"` MaxMemory int64 `json:"maxMemory"` TotalTasks int `json:"totalTasks"` FailedTasks int `json:"failedTasks"` ActiveTasks int `json:"activeTasks"` TotalCores int `json:"totalCores"` DiskUsed int `json:"diskUsed"` MemoryUsed int `json:"memoryUsed"` RddBlocks int `json:"rddBlocks"` IsBlacklisted bool `json:"isBlacklisted"` IsExcluded bool `json:"isExcluded"` IsActive bool `json:"isActive"` }
type ExtraMetricsBuilder ¶
func (ExtraMetricsBuilder) BuildExecutorMetrics ¶
func (b ExtraMetricsBuilder) BuildExecutorMetrics(clusters []Cluster) (*ResourceMetrics, error)
func (ExtraMetricsBuilder) BuildJobMetrics ¶
func (b ExtraMetricsBuilder) BuildJobMetrics(clusters []Cluster) (*ResourceMetrics, error)
func (ExtraMetricsBuilder) BuildStageMetrics ¶
func (b ExtraMetricsBuilder) BuildStageMetrics(clusters []Cluster) (*ResourceMetrics, error)
type Histogram ¶
type Histogram struct { Count int `json:"count"` Max int `json:"max"` Mean float64 `json:"mean"` Min int `json:"min"` P50 float64 `json:"p50"` P75 float64 `json:"p75"` P95 float64 `json:"p95"` P98 float64 `json:"p98"` P99 float64 `json:"p99"` P999 float64 `json:"p999"` Stddev float64 `json:"stddev"` }
type JobInfo ¶
type JobInfo struct { Status string `json:"status"` Name string `json:"name"` Description string `json:"description"` SubmissionTime string `json:"submissionTime"` CompletionTime string `json:"completionTime"` JobGroup string `json:"jobGroup"` StageIds []int `json:"stageIds"` NumTasks int `json:"numTasks"` JobID int `json:"jobId"` NumActiveTasks int `json:"numActiveTasks"` NumCompletedTasks int `json:"numCompletedTasks"` NumSkippedTasks int `json:"numSkippedTasks"` NumFailedTasks int `json:"numFailedTasks"` NumKilledTasks int `json:"numKilledTasks"` NumCompletedIndices int `json:"numCompletedIndices"` NumActiveStages int `json:"numActiveStages"` NumCompletedStages int `json:"numCompletedStages"` NumSkippedStages int `json:"numSkippedStages"` NumFailedStages int `json:"numFailedStages"` }
type PipelineSummary ¶
type ResourceMetrics ¶
type ResourceMetrics struct {
// contains filtered or unexported fields
}
func NewResourceMetrics ¶
func NewResourceMetrics() *ResourceMetrics
func (*ResourceMetrics) Append ¶
func (m *ResourceMetrics) Append(other *ResourceMetrics)
func (*ResourceMetrics) Build ¶
func (m *ResourceMetrics) Build(mb *metadata.MetricsBuilder, rb *metadata.ResourceBuilder, now pcommon.Timestamp, instanceName string) []pmetric.Metrics
type Service ¶
type Service interface {
// contains filtered or unexported methods
}
func NewService ¶
type StageInfo ¶
type StageInfo struct { SubmissionTime string `json:"submissionTime"` SchedulingPool string `json:"schedulingPool"` Details string `json:"details"` Description string `json:"description"` Name string `json:"name"` Status string `json:"status"` CompletionTime string `json:"completionTime"` FirstTaskLaunchedTime string `json:"firstTaskLaunchedTime"` DiskBytesSpilled int `json:"diskBytesSpilled"` OutputRecords int `json:"outputRecords"` NumKilledTasks int `json:"numKilledTasks"` NumFailedTasks int `json:"numFailedTasks"` ExecutorDeserializeTime int `json:"executorDeserializeTime"` ExecutorDeserializeCPUTime int `json:"executorDeserializeCpuTime"` ExecutorRunTime int `json:"executorRunTime"` ExecutorCPUTime int `json:"executorCpuTime"` ResultSize int `json:"resultSize"` JvmGcTime int `json:"jvmGcTime"` ResultSerializationTime int `json:"resultSerializationTime"` MemoryBytesSpilled int `json:"memoryBytesSpilled"` NumCompleteTasks int `json:"numCompleteTasks"` PeakExecutionMemory int `json:"peakExecutionMemory"` InputBytes int `json:"inputBytes"` InputRecords int `json:"inputRecords"` OutputBytes int `json:"outputBytes"` NumCompletedIndices int `json:"numCompletedIndices"` ShuffleRemoteBlocksFetched int `json:"shuffleRemoteBlocksFetched"` ShuffleLocalBlocksFetched int `json:"shuffleLocalBlocksFetched"` ShuffleFetchWaitTime int `json:"shuffleFetchWaitTime"` ShuffleRemoteBytesRead int `json:"shuffleRemoteBytesRead"` ShuffleRemoteBytesReadToDisk int `json:"shuffleRemoteBytesReadToDisk"` ShuffleLocalBytesRead int `json:"shuffleLocalBytesRead"` ShuffleReadBytes int `json:"shuffleReadBytes"` ShuffleReadRecords int `json:"shuffleReadRecords"` ShuffleWriteBytes int `json:"shuffleWriteBytes"` ShuffleWriteTime int `json:"shuffleWriteTime"` ShuffleWriteRecords int `json:"shuffleWriteRecords"` NumActiveTasks int `json:"numActiveTasks"` NumTasks int `json:"numTasks"` AttemptID int `json:"attemptId"` StageID int `json:"stageId"` ResourceProfileID int `json:"resourceProfileId"` }
type Timer ¶
type Timer struct { DurationUnits string `json:"duration_units"` RateUnits string `json:"rate_units"` P99 float64 `json:"p99"` P999 float64 `json:"p999"` P50 float64 `json:"p50"` P75 float64 `json:"p75"` P95 float64 `json:"p95"` P98 float64 `json:"p98"` Count int `json:"count"` Min float64 `json:"min"` Stddev float64 `json:"stddev"` M15Rate float64 `json:"m15_rate"` M1Rate float64 `json:"m1_rate"` M5Rate float64 `json:"m5_rate"` MeanRate float64 `json:"mean_rate"` Mean float64 `json:"mean"` Max float64 `json:"max"` }
Click to show internal directories.
Click to hide internal directories.