2023-02-28 12:58:26 -08:00
|
|
|
package metric
|
|
|
|
|
|
|
|
import (
|
|
|
|
"context"
|
|
|
|
|
|
|
|
"github.com/wormhole-foundation/wormhole/sdk/vaa"
|
|
|
|
)
|
|
|
|
|
2023-11-27 07:31:35 -08:00
|
|
|
type Params struct {
|
|
|
|
TrackID string
|
|
|
|
Vaa *vaa.VAA
|
|
|
|
VaaIsSigned bool
|
|
|
|
}
|
|
|
|
|
2023-02-28 12:58:26 -08:00
|
|
|
// MetricPushFunc is a function to push metrics
|
2023-11-27 07:31:35 -08:00
|
|
|
type MetricPushFunc func(context.Context, *Params) error
|