package reportdisk
import "github.com/influxdata/influxdb/cmd/influx_inspect/reportdisk"
Package report reports statistics about TSM files.
Index ¶
- type Command
- type MeasurementDetails
- type MeasurementSizes
- func (s *MeasurementSizes) AddSize(db, rp, measurement string, size int64)
- func (s *MeasurementSizes) ForEach(f func(db, rp, measurement string, detail MeasurementDetails))
- type ProgressReporter
- func NewProgressReporter(w io.Writer) *ProgressReporter
- func (p *ProgressReporter) Report(line string)
- type ShardDetails
- type ShardSizes
Types ¶
type Command ¶
Command represents the program execution for "influxd report".
func NewCommand ¶
func NewCommand() *Command
NewCommand returns a new instance of Command.
func (*Command) Run ¶
Run executes the command.
type MeasurementDetails ¶
type MeasurementDetails struct {
// contains filtered or unexported fields
}
type MeasurementSizes ¶
type MeasurementSizes struct {
// contains filtered or unexported fields
}
func (*MeasurementSizes) AddSize ¶
func (s *MeasurementSizes) AddSize(db, rp, measurement string, size int64)
func (*MeasurementSizes) ForEach ¶
func (s *MeasurementSizes) ForEach(f func(db, rp, measurement string, detail MeasurementDetails))
type ProgressReporter ¶
type ProgressReporter struct {
// contains filtered or unexported fields
}
func NewProgressReporter ¶
func NewProgressReporter(w io.Writer) *ProgressReporter
func (*ProgressReporter) Report ¶
func (p *ProgressReporter) Report(line string)
type ShardDetails ¶
type ShardDetails struct {
// contains filtered or unexported fields
}
type ShardSizes ¶
type ShardSizes struct {
// contains filtered or unexported fields
}
func (*ShardSizes) AddTsmFileWithSize ¶
func (s *ShardSizes) AddTsmFileWithSize(db, rp, id string, size int64)
func (*ShardSizes) ForEach ¶
func (s *ShardSizes) ForEach(f func(db, rp, id string, detail ShardDetails))
Source Files ¶
- Version
- v1.12.0 (latest)
- Published
- Apr 8, 2025
- Platform
- linux/amd64
- Imports
- 12 packages
- Last checked
- 2 days ago –
Tools for package owners.