Skip to content

Commit

Permalink
reduce logging
Browse files Browse the repository at this point in the history
  • Loading branch information
samcm committed Jul 11, 2022
1 parent c62d6f2 commit 5a9696d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/exporter/consensus/beacon/state/state.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ func (c *Container) AddBeaconBlock(ctx context.Context, beaconBlock *spec.Versio
"slot": slotNumber,
"proposer_delay": delay.String(),
"proposer_index": proposer,
}).Info("Inserted beacon block")
}).Debug("Inserted beacon block")

c.publishBlockInserted(ctx, epochNumber, *slot)

Expand Down
2 changes: 1 addition & 1 deletion pkg/exporter/consensus/jobs/beacon.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ func NewBeaconJob(client eth2client.Service, ap api.ConsensusClient, beac beacon
EmptySlots: prometheus.NewCounter(
prometheus.CounterOpts{
Namespace: namespace,
Name: "empty_slots",
Name: "empty_slots_count",
Help: "The number of slots that have expired without a block proposed.",
ConstLabels: constLabels,
},
Expand Down
2 changes: 1 addition & 1 deletion pkg/exporter/consensus/jobs/general.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func (g *General) Name() string {

func (g *General) Start(ctx context.Context) error {
if _, err := g.beacon.OnNodeVersionUpdated(ctx, func(ctx context.Context, event *beacon.NodeVersionUpdatedEvent) error {
g.log.WithField("version", event.Version).Info("Got node version")
g.log.WithField("version", event.Version).Debug("Got node version")

g.NodeVersion.Reset()
g.NodeVersion.WithLabelValues(event.Version).Set(1)
Expand Down

0 comments on commit 5a9696d

Please sign in to comment.