Skip to content

Commit

Permalink
rolling back priv traffic reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
muhamadazmy committed Feb 28, 2023
1 parent 1034df7 commit d8a632b
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 3 deletions.
11 changes: 8 additions & 3 deletions cmds/modules/provisiond/reporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -228,9 +228,14 @@ func (r *Reporter) getMetrics(ctx context.Context) error {
return err
}

if err := r.getNetworkMetrics(ctx, slot); err != nil {
log.Error().Err(err).Msg("failed to get network resource consumption")
}
// NOTICE: disable collecting traffic consumption
// for network resources. So ygg and wg traffic
// will not counter.
// To enable, uncomment the following section
//
// if err := r.getNetworkMetrics(ctx, slot); err != nil {
// log.Error().Err(err).Msg("failed to get network resource consumption")
// }

if err := r.getVmMetrics(ctx, slot); err != nil {
log.Error().Err(err).Msg("failed to get vm public ip consumption")
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# 1. Record architecture decisions

Date: 2023-02-28

## Status

Accepted

## Context
Disable (rollback) decision done by [0001-nu-reporting-for-priv-traffic](0001-nu-reporting-for-priv-traffic.md)

## Decision

- Roll back, and wait for community decision

## Consequences

Going back to previous state

0 comments on commit d8a632b

Please sign in to comment.