Documentation ¶
Index ¶
- type TransactionHandlerMetrics
- func (_m *TransactionHandlerMetrics) IncTxHandlerCounterMetric(ctx context.Context, metricName string, ...)
- func (_m *TransactionHandlerMetrics) IncTxHandlerCounterMetricWithLabels(ctx context.Context, metricName string, labels map[string]string, ...)
- func (_m *TransactionHandlerMetrics) InitTxHandlerCounterMetric(ctx context.Context, metricName string, helpText string, ...)
- func (_m *TransactionHandlerMetrics) InitTxHandlerCounterMetricWithLabels(ctx context.Context, metricName string, helpText string, labelNames []string, ...)
- func (_m *TransactionHandlerMetrics) InitTxHandlerGaugeMetric(ctx context.Context, metricName string, helpText string, ...)
- func (_m *TransactionHandlerMetrics) InitTxHandlerGaugeMetricWithLabels(ctx context.Context, metricName string, helpText string, labelNames []string, ...)
- func (_m *TransactionHandlerMetrics) InitTxHandlerHistogramMetric(ctx context.Context, metricName string, helpText string, buckets []float64, ...)
- func (_m *TransactionHandlerMetrics) InitTxHandlerHistogramMetricWithLabels(ctx context.Context, metricName string, helpText string, buckets []float64, ...)
- func (_m *TransactionHandlerMetrics) InitTxHandlerSummaryMetric(ctx context.Context, metricName string, helpText string, ...)
- func (_m *TransactionHandlerMetrics) InitTxHandlerSummaryMetricWithLabels(ctx context.Context, metricName string, helpText string, labelNames []string, ...)
- func (_m *TransactionHandlerMetrics) ObserveTxHandlerHistogramMetric(ctx context.Context, metricName string, number float64, ...)
- func (_m *TransactionHandlerMetrics) ObserveTxHandlerHistogramMetricWithLabels(ctx context.Context, metricName string, number float64, ...)
- func (_m *TransactionHandlerMetrics) ObserveTxHandlerSummaryMetric(ctx context.Context, metricName string, number float64, ...)
- func (_m *TransactionHandlerMetrics) ObserveTxHandlerSummaryMetricWithLabels(ctx context.Context, metricName string, number float64, ...)
- func (_m *TransactionHandlerMetrics) SetTxHandlerGaugeMetric(ctx context.Context, metricName string, number float64, ...)
- func (_m *TransactionHandlerMetrics) SetTxHandlerGaugeMetricWithLabels(ctx context.Context, metricName string, number float64, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TransactionHandlerMetrics ¶ added in v1.2.7
TransactionHandlerMetrics is an autogenerated mock type for the TransactionHandlerMetrics type
func NewTransactionHandlerMetrics ¶ added in v1.2.7
func NewTransactionHandlerMetrics(t mockConstructorTestingTNewTransactionHandlerMetrics) *TransactionHandlerMetrics
NewTransactionHandlerMetrics creates a new instance of TransactionHandlerMetrics. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*TransactionHandlerMetrics) IncTxHandlerCounterMetric ¶ added in v1.2.7
func (_m *TransactionHandlerMetrics) IncTxHandlerCounterMetric(ctx context.Context, metricName string, defaultLabels *metric.FireflyDefaultLabels)
IncTxHandlerCounterMetric provides a mock function with given fields: ctx, metricName, defaultLabels
func (*TransactionHandlerMetrics) IncTxHandlerCounterMetricWithLabels ¶ added in v1.2.7
func (_m *TransactionHandlerMetrics) IncTxHandlerCounterMetricWithLabels(ctx context.Context, metricName string, labels map[string]string, defaultLabels *metric.FireflyDefaultLabels)
IncTxHandlerCounterMetricWithLabels provides a mock function with given fields: ctx, metricName, labels, defaultLabels
func (*TransactionHandlerMetrics) InitTxHandlerCounterMetric ¶ added in v1.2.7
func (_m *TransactionHandlerMetrics) InitTxHandlerCounterMetric(ctx context.Context, metricName string, helpText string, withDefaultLabels bool)
InitTxHandlerCounterMetric provides a mock function with given fields: ctx, metricName, helpText, withDefaultLabels
func (*TransactionHandlerMetrics) InitTxHandlerCounterMetricWithLabels ¶ added in v1.2.7
func (_m *TransactionHandlerMetrics) InitTxHandlerCounterMetricWithLabels(ctx context.Context, metricName string, helpText string, labelNames []string, withDefaultLabels bool)
InitTxHandlerCounterMetricWithLabels provides a mock function with given fields: ctx, metricName, helpText, labelNames, withDefaultLabels
func (*TransactionHandlerMetrics) InitTxHandlerGaugeMetric ¶ added in v1.2.7
func (_m *TransactionHandlerMetrics) InitTxHandlerGaugeMetric(ctx context.Context, metricName string, helpText string, withDefaultLabels bool)
InitTxHandlerGaugeMetric provides a mock function with given fields: ctx, metricName, helpText, withDefaultLabels
func (*TransactionHandlerMetrics) InitTxHandlerGaugeMetricWithLabels ¶ added in v1.2.7
func (_m *TransactionHandlerMetrics) InitTxHandlerGaugeMetricWithLabels(ctx context.Context, metricName string, helpText string, labelNames []string, withDefaultLabels bool)
InitTxHandlerGaugeMetricWithLabels provides a mock function with given fields: ctx, metricName, helpText, labelNames, withDefaultLabels
func (*TransactionHandlerMetrics) InitTxHandlerHistogramMetric ¶ added in v1.2.7
func (_m *TransactionHandlerMetrics) InitTxHandlerHistogramMetric(ctx context.Context, metricName string, helpText string, buckets []float64, withDefaultLabels bool)
InitTxHandlerHistogramMetric provides a mock function with given fields: ctx, metricName, helpText, buckets, withDefaultLabels
func (*TransactionHandlerMetrics) InitTxHandlerHistogramMetricWithLabels ¶ added in v1.2.7
func (_m *TransactionHandlerMetrics) InitTxHandlerHistogramMetricWithLabels(ctx context.Context, metricName string, helpText string, buckets []float64, labelNames []string, withDefaultLabels bool)
InitTxHandlerHistogramMetricWithLabels provides a mock function with given fields: ctx, metricName, helpText, buckets, labelNames, withDefaultLabels
func (*TransactionHandlerMetrics) InitTxHandlerSummaryMetric ¶ added in v1.2.7
func (_m *TransactionHandlerMetrics) InitTxHandlerSummaryMetric(ctx context.Context, metricName string, helpText string, withDefaultLabels bool)
InitTxHandlerSummaryMetric provides a mock function with given fields: ctx, metricName, helpText, withDefaultLabels
func (*TransactionHandlerMetrics) InitTxHandlerSummaryMetricWithLabels ¶ added in v1.2.7
func (_m *TransactionHandlerMetrics) InitTxHandlerSummaryMetricWithLabels(ctx context.Context, metricName string, helpText string, labelNames []string, withDefaultLabels bool)
InitTxHandlerSummaryMetricWithLabels provides a mock function with given fields: ctx, metricName, helpText, labelNames, withDefaultLabels
func (*TransactionHandlerMetrics) ObserveTxHandlerHistogramMetric ¶ added in v1.2.7
func (_m *TransactionHandlerMetrics) ObserveTxHandlerHistogramMetric(ctx context.Context, metricName string, number float64, defaultLabels *metric.FireflyDefaultLabels)
ObserveTxHandlerHistogramMetric provides a mock function with given fields: ctx, metricName, number, defaultLabels
func (*TransactionHandlerMetrics) ObserveTxHandlerHistogramMetricWithLabels ¶ added in v1.2.7
func (_m *TransactionHandlerMetrics) ObserveTxHandlerHistogramMetricWithLabels(ctx context.Context, metricName string, number float64, labels map[string]string, defaultLabels *metric.FireflyDefaultLabels)
ObserveTxHandlerHistogramMetricWithLabels provides a mock function with given fields: ctx, metricName, number, labels, defaultLabels
func (*TransactionHandlerMetrics) ObserveTxHandlerSummaryMetric ¶ added in v1.2.7
func (_m *TransactionHandlerMetrics) ObserveTxHandlerSummaryMetric(ctx context.Context, metricName string, number float64, defaultLabels *metric.FireflyDefaultLabels)
ObserveTxHandlerSummaryMetric provides a mock function with given fields: ctx, metricName, number, defaultLabels
func (*TransactionHandlerMetrics) ObserveTxHandlerSummaryMetricWithLabels ¶ added in v1.2.7
func (_m *TransactionHandlerMetrics) ObserveTxHandlerSummaryMetricWithLabels(ctx context.Context, metricName string, number float64, labels map[string]string, defaultLabels *metric.FireflyDefaultLabels)
ObserveTxHandlerSummaryMetricWithLabels provides a mock function with given fields: ctx, metricName, number, labels, defaultLabels
func (*TransactionHandlerMetrics) SetTxHandlerGaugeMetric ¶ added in v1.2.7
func (_m *TransactionHandlerMetrics) SetTxHandlerGaugeMetric(ctx context.Context, metricName string, number float64, defaultLabels *metric.FireflyDefaultLabels)
SetTxHandlerGaugeMetric provides a mock function with given fields: ctx, metricName, number, defaultLabels
func (*TransactionHandlerMetrics) SetTxHandlerGaugeMetricWithLabels ¶ added in v1.2.7
func (_m *TransactionHandlerMetrics) SetTxHandlerGaugeMetricWithLabels(ctx context.Context, metricName string, number float64, labels map[string]string, defaultLabels *metric.FireflyDefaultLabels)
SetTxHandlerGaugeMetricWithLabels provides a mock function with given fields: ctx, metricName, number, labels, defaultLabels