Documentation ¶
Index ¶
- Variables
- func NewFireLogExporter() (metric.Exporter, error)
- type ClientInfo
- type DataPoint
- type DataPointFloat64
- type DataPointHistogram
- type DataPointInt64
- type EventMetadata
- type Exporter
- func (e *Exporter) Aggregation(ik metric.InstrumentKind) aggregation.Aggregation
- func (e *Exporter) Export(ctx context.Context, md metricdata.ResourceMetrics) error
- func (e *Exporter) ForceFlush(ctx context.Context) error
- func (e *Exporter) Shutdown(ctx context.Context) error
- func (e *Exporter) Temporality(ik metric.InstrumentKind) metricdata.Temporality
- type Key
- type KeyValue
- type LogEvent
- type MetricData
- type SourceExtensionJSONProto3
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func NewFireLogExporter ¶
Types ¶
type ClientInfo ¶
type ClientInfo struct {
ClientType string `json:"client_type"`
}
type DataPointFloat64 ¶
type DataPointFloat64 metricdata.DataPoint[float64]
type DataPointHistogram ¶
type DataPointHistogram metricdata.HistogramDataPoint
type DataPointInt64 ¶
type DataPointInt64 metricdata.DataPoint[int64]
type EventMetadata ¶
type EventMetadata []KeyValue
type Exporter ¶
type Exporter struct { }
func (*Exporter) Aggregation ¶
func (e *Exporter) Aggregation(ik metric.InstrumentKind) aggregation.Aggregation
Aggregation returns the Aggregation to use for an instrument kind.
func (*Exporter) Export ¶
func (e *Exporter) Export(ctx context.Context, md metricdata.ResourceMetrics) error
func (*Exporter) Temporality ¶
func (e *Exporter) Temporality(ik metric.InstrumentKind) metricdata.Temporality
Temporality returns the Temporality to use for an instrument kind.
type MetricData ¶
type MetricData struct { ClientInfo ClientInfo `json:"client_info"` LogSource string `json:"log_source"` LogEvent LogEvent `json:"log_event"` RequestTimeMS int64 `json:"request_time_ms"` }
Click to show internal directories.
Click to hide internal directories.