File tree 3 files changed +11
-7
lines changed
3 files changed +11
-7
lines changed Original file line number Diff line number Diff line change 1
1
# UNRELEASED
2
2
3
+ IMPROVEMENETS
4
+
5
+ * chore: Add a flag to skip legacy duplicate telemetry. [ GH-630 ] ( https://github.com/hashicorp/raft/pull/630 )
6
+
3
7
# 1.7.0 (June 5th, 2024)
4
8
5
9
CHANGES
Original file line number Diff line number Diff line change @@ -218,8 +218,8 @@ type Raft struct {
218
218
// prevote feature is disabled if set to true.
219
219
preVoteDisabled bool
220
220
221
- // noLegacyTelemetry allow to skip the legacy metrics to avoid duplicates.
222
- // legacy metrics are which has `_peer_name` as metric suffix instead as labels.
221
+ // noLegacyTelemetry allows to skip the legacy metrics to avoid duplicates.
222
+ // legacy metrics are those that have `_peer_name` as metric suffix instead as labels.
223
223
// e.g: raft_replication_heartbeat_peer0
224
224
noLegacyTelemetry bool
225
225
}
Original file line number Diff line number Diff line change @@ -235,13 +235,13 @@ type Config struct {
235
235
// PreVoteDisabled deactivate the pre-vote feature when set to true
236
236
PreVoteDisabled bool
237
237
238
- // skipStartup allows NewRaft() to bypass all background work goroutines
239
- skipStartup bool
240
-
241
- // NoLegacyTelemetry allow to skip the legacy metrics to avoid duplicates.
242
- // legacy metrics are which has `_peer_name` as metric suffix instead as labels.
238
+ // NoLegacyTelemetry allows to skip the legacy metrics to avoid duplicates.
239
+ // legacy metrics are those that have `_peer_name` as metric suffix instead as labels.
243
240
// e.g: raft_replication_heartbeat_peer0
244
241
NoLegacyTelemetry bool
242
+
243
+ // skipStartup allows NewRaft() to bypass all background work goroutines
244
+ skipStartup bool
245
245
}
246
246
247
247
func (conf * Config ) getOrCreateLogger () hclog.Logger {
You can’t perform that action at this time.
0 commit comments