good morning!!!!
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
bor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
open
bor
Commits
f57c80d2
Commit
f57c80d2
authored
Feb 18, 2019
by
Matthew Halpern
Committed by
Péter Szilágyi
Feb 18, 2019
Browse files
Options
Downloads
Patches
Plain Diff
metrics: remove redundant type specifiers (#19090)
parent
7b3e3d54
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
metrics/metrics.go
+1
-1
1 addition, 1 deletion
metrics/metrics.go
metrics/opentsdb.go
+1
-1
1 addition, 1 deletion
metrics/opentsdb.go
with
2 additions
and
2 deletions
metrics/metrics.go
+
1
−
1
View file @
f57c80d2
...
...
@@ -19,7 +19,7 @@ import (
//
// This global kill-switch helps quantify the observer effect and makes
// for less cluttered pprof profiles.
var
Enabled
bool
=
false
var
Enabled
=
false
// MetricsEnabledFlag is the CLI flag name to use to enable metrics collections.
const
MetricsEnabledFlag
=
"metrics"
...
...
This diff is collapsed.
Click to expand it.
metrics/opentsdb.go
+
1
−
1
View file @
f57c80d2
...
...
@@ -10,7 +10,7 @@ import (
"time"
)
var
shortHostName
string
=
""
var
shortHostName
=
""
// OpenTSDBConfig provides a container with configuration parameters for
// the OpenTSDB exporter
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment