mirror of
https://github.com/hatchet-dev/hatchet.git
synced 2026-04-23 10:39:45 -05:00
Feat: Hatchet Metrics Monitoring, I (#2480)
* feat: queries + task methods for oldest running task and oldest task * feat: worker slot and sdk metrics * feat: wal metrics * repository stub * feat: add meter provider thingy * pg queries * fix: add task * feat: repo methods for worker metrics * feat: active workers query, fix where clauses * fix: aliasing * fix: sql, cleanup * chore: cast * feat: olap queries * feat: olap queries * feat: finish wiring up olap status update metrics * chore: lint * chore: lint * fix: dupes, other code review comments * send metrics to OTel collector * last autovac * flag * logging updates * address PR comments --------- Co-authored-by: gabriel ruttner <gabriel.ruttner@gmail.com> Co-authored-by: Mohammed Nafees <hello@mnafees.me>
This commit is contained in:
@@ -11,9 +11,9 @@ import (
|
||||
"github.com/rs/zerolog"
|
||||
"google.golang.org/grpc"
|
||||
"google.golang.org/grpc/codes"
|
||||
_ "google.golang.org/grpc/encoding/gzip" // Register gzip compression codec
|
||||
"google.golang.org/grpc/status"
|
||||
"google.golang.org/protobuf/types/known/timestamppb"
|
||||
_ "google.golang.org/grpc/encoding/gzip" // Register gzip compression codec
|
||||
|
||||
dispatchercontracts "github.com/hatchet-dev/hatchet/internal/services/dispatcher/contracts"
|
||||
sharedcontracts "github.com/hatchet-dev/hatchet/internal/services/shared/proto/v1"
|
||||
|
||||
Reference in New Issue
Block a user