mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-15 08:41:02 +00:00
missing comments
This commit is contained in:
parent
25227787fc
commit
06665d048d
2 changed files with 5 additions and 1 deletions
|
|
@ -28,7 +28,9 @@ const (
|
|||
|
||||
// DefaultInternalPort the port the nodes intercommunicate on.
|
||||
DefaultInternalPort = "14000"
|
||||
DefaultMetrics = "nop"
|
||||
|
||||
// DefaultMetrics sets the internal metrics to no op
|
||||
DefaultMetrics = "nop"
|
||||
)
|
||||
|
||||
// Config represents the configuration for the command.
|
||||
|
|
|
|||
2
stats.go
2
stats.go
|
|
@ -107,6 +107,7 @@ func (c *ExpvarStatsClient) Count(name string, value int64) {
|
|||
c.m.Add(name, value)
|
||||
}
|
||||
|
||||
// CountWithCustomTags Tracks the number of times something occurs per second with custom tags
|
||||
func (c *ExpvarStatsClient) CountWithCustomTags(name string, value int64, tags []string) {
|
||||
c.m.Add(name, value)
|
||||
}
|
||||
|
|
@ -164,6 +165,7 @@ func (a MultiStatsClient) Count(name string, value int64) {
|
|||
}
|
||||
}
|
||||
|
||||
// CountWithCustomTags Tracks the number of times something occurs per second with custom tags
|
||||
func (a MultiStatsClient) CountWithCustomTags(name string, value int64, tags []string) {
|
||||
for _, c := range a {
|
||||
c.CountWithCustomTags(name, value, tags)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue