 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Opts ¶
type Opts struct {
	OutputDir      string        // The directory to place the generated TSDB blocks. Default /tmp/tsdb.
	NumTimeseries  int           // The number of timeseries to generate. Default 1.
	StartTime      time.Time     // Metrics will be produced from this time. Default now.
	EndTime        time.Time     // Metrics will be produced until this time. Default 1 week.
	SampleInterval time.Duration // How often to sample the metrics. Default 15s.
	BlockLength    time.Duration // The length of time each block will cover. Default 2 hours.
}
    
       Source Files
      ¶
      Source Files
      ¶
    
- tsdb.go
 Click to show internal directories. 
   Click to hide internal directories.