Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
0aa61c8e
Unverified
Commit
0aa61c8e
authored
Feb 25, 2019
by
Carl Bergquist
Committed by
GitHub
Feb 25, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #15629 from bergquist/moves_metrics_to_infra
moves metric package to /infra
parents
9240d850
8a3a3ccc
Show whitespace changes
Inline
Side-by-side
Showing
27 changed files
with
24 additions
and
24 deletions
+24
-24
pkg/api/admin_users.go
+1
-1
pkg/api/dashboard.go
+1
-1
pkg/api/dashboard_snapshot.go
+1
-1
pkg/api/dataproxy.go
+1
-1
pkg/api/login.go
+1
-1
pkg/api/login_oauth.go
+1
-1
pkg/api/org.go
+1
-1
pkg/api/org_invite.go
+1
-1
pkg/api/search.go
+1
-1
pkg/api/signup.go
+1
-1
pkg/cmd/grafana-server/main.go
+1
-1
pkg/cmd/grafana-server/server.go
+1
-1
pkg/infra/metrics/graphitebridge/graphite.go
+0
-0
pkg/infra/metrics/graphitebridge/graphite_test.go
+0
-0
pkg/infra/metrics/metrics.go
+0
-0
pkg/infra/metrics/service.go
+1
-1
pkg/infra/metrics/settings.go
+1
-1
pkg/infra/usagestats/usage_stats.go
+1
-1
pkg/middleware/request_metrics.go
+1
-1
pkg/services/alerting/eval_handler.go
+1
-1
pkg/services/alerting/notifier.go
+1
-1
pkg/services/alerting/reader.go
+1
-1
pkg/services/alerting/result_handler.go
+1
-1
pkg/services/sqlstore/dashboard.go
+1
-1
pkg/services/sqlstore/datasource.go
+1
-1
pkg/tsdb/cloudwatch/cloudwatch.go
+1
-1
pkg/tsdb/cloudwatch/metric_find_query.go
+1
-1
No files found.
pkg/api/admin_users.go
View file @
0aa61c8e
...
...
@@ -3,7 +3,7 @@ package api
import
(
"github.com/grafana/grafana/pkg/api/dtos"
"github.com/grafana/grafana/pkg/bus"
"github.com/grafana/grafana/pkg/metrics"
"github.com/grafana/grafana/pkg/
infra/
metrics"
m
"github.com/grafana/grafana/pkg/models"
"github.com/grafana/grafana/pkg/util"
)
...
...
pkg/api/dashboard.go
View file @
0aa61c8e
...
...
@@ -13,8 +13,8 @@ import (
"github.com/grafana/grafana/pkg/bus"
"github.com/grafana/grafana/pkg/components/dashdiffs"
"github.com/grafana/grafana/pkg/components/simplejson"
"github.com/grafana/grafana/pkg/infra/metrics"
"github.com/grafana/grafana/pkg/log"
"github.com/grafana/grafana/pkg/metrics"
m
"github.com/grafana/grafana/pkg/models"
"github.com/grafana/grafana/pkg/plugins"
"github.com/grafana/grafana/pkg/services/guardian"
...
...
pkg/api/dashboard_snapshot.go
View file @
0aa61c8e
...
...
@@ -10,7 +10,7 @@ import (
"github.com/grafana/grafana/pkg/api/dtos"
"github.com/grafana/grafana/pkg/bus"
"github.com/grafana/grafana/pkg/components/simplejson"
"github.com/grafana/grafana/pkg/metrics"
"github.com/grafana/grafana/pkg/
infra/
metrics"
m
"github.com/grafana/grafana/pkg/models"
"github.com/grafana/grafana/pkg/services/guardian"
"github.com/grafana/grafana/pkg/setting"
...
...
pkg/api/dataproxy.go
View file @
0aa61c8e
...
...
@@ -2,7 +2,7 @@ package api
import
(
"github.com/grafana/grafana/pkg/api/pluginproxy"
"github.com/grafana/grafana/pkg/metrics"
"github.com/grafana/grafana/pkg/
infra/
metrics"
m
"github.com/grafana/grafana/pkg/models"
"github.com/grafana/grafana/pkg/plugins"
)
...
...
pkg/api/login.go
View file @
0aa61c8e
...
...
@@ -7,9 +7,9 @@ import (
"github.com/grafana/grafana/pkg/api/dtos"
"github.com/grafana/grafana/pkg/bus"
"github.com/grafana/grafana/pkg/infra/metrics"
"github.com/grafana/grafana/pkg/log"
"github.com/grafana/grafana/pkg/login"
"github.com/grafana/grafana/pkg/metrics"
"github.com/grafana/grafana/pkg/middleware"
m
"github.com/grafana/grafana/pkg/models"
"github.com/grafana/grafana/pkg/setting"
...
...
pkg/api/login_oauth.go
View file @
0aa61c8e
...
...
@@ -16,9 +16,9 @@ import (
"golang.org/x/oauth2"
"github.com/grafana/grafana/pkg/bus"
"github.com/grafana/grafana/pkg/infra/metrics"
"github.com/grafana/grafana/pkg/log"
"github.com/grafana/grafana/pkg/login"
"github.com/grafana/grafana/pkg/metrics"
m
"github.com/grafana/grafana/pkg/models"
"github.com/grafana/grafana/pkg/setting"
"github.com/grafana/grafana/pkg/social"
...
...
pkg/api/org.go
View file @
0aa61c8e
...
...
@@ -3,7 +3,7 @@ package api
import
(
"github.com/grafana/grafana/pkg/api/dtos"
"github.com/grafana/grafana/pkg/bus"
"github.com/grafana/grafana/pkg/metrics"
"github.com/grafana/grafana/pkg/
infra/
metrics"
m
"github.com/grafana/grafana/pkg/models"
"github.com/grafana/grafana/pkg/setting"
"github.com/grafana/grafana/pkg/util"
...
...
pkg/api/org_invite.go
View file @
0aa61c8e
...
...
@@ -6,7 +6,7 @@ import (
"github.com/grafana/grafana/pkg/api/dtos"
"github.com/grafana/grafana/pkg/bus"
"github.com/grafana/grafana/pkg/events"
"github.com/grafana/grafana/pkg/metrics"
"github.com/grafana/grafana/pkg/
infra/
metrics"
m
"github.com/grafana/grafana/pkg/models"
"github.com/grafana/grafana/pkg/setting"
"github.com/grafana/grafana/pkg/util"
...
...
pkg/api/search.go
View file @
0aa61c8e
...
...
@@ -4,7 +4,7 @@ import (
"strconv"
"github.com/grafana/grafana/pkg/bus"
"github.com/grafana/grafana/pkg/metrics"
"github.com/grafana/grafana/pkg/
infra/
metrics"
m
"github.com/grafana/grafana/pkg/models"
"github.com/grafana/grafana/pkg/services/search"
)
...
...
pkg/api/signup.go
View file @
0aa61c8e
...
...
@@ -4,7 +4,7 @@ import (
"github.com/grafana/grafana/pkg/api/dtos"
"github.com/grafana/grafana/pkg/bus"
"github.com/grafana/grafana/pkg/events"
"github.com/grafana/grafana/pkg/metrics"
"github.com/grafana/grafana/pkg/
infra/
metrics"
m
"github.com/grafana/grafana/pkg/models"
"github.com/grafana/grafana/pkg/setting"
"github.com/grafana/grafana/pkg/util"
...
...
pkg/cmd/grafana-server/main.go
View file @
0aa61c8e
...
...
@@ -14,8 +14,8 @@ import (
"time"
"github.com/grafana/grafana/pkg/extensions"
"github.com/grafana/grafana/pkg/infra/metrics"
"github.com/grafana/grafana/pkg/log"
"github.com/grafana/grafana/pkg/metrics"
_
"github.com/grafana/grafana/pkg/services/alerting/conditions"
_
"github.com/grafana/grafana/pkg/services/alerting/notifiers"
"github.com/grafana/grafana/pkg/setting"
...
...
pkg/cmd/grafana-server/server.go
View file @
0aa61c8e
...
...
@@ -28,8 +28,8 @@ import (
// self registering services
_
"github.com/grafana/grafana/pkg/extensions"
_
"github.com/grafana/grafana/pkg/infra/metrics"
_
"github.com/grafana/grafana/pkg/infra/serverlock"
_
"github.com/grafana/grafana/pkg/metrics"
_
"github.com/grafana/grafana/pkg/plugins"
_
"github.com/grafana/grafana/pkg/services/alerting"
_
"github.com/grafana/grafana/pkg/services/auth"
...
...
pkg/metrics/graphitebridge/graphite.go
→
pkg/
infra/
metrics/graphitebridge/graphite.go
View file @
0aa61c8e
File moved
pkg/metrics/graphitebridge/graphite_test.go
→
pkg/
infra/
metrics/graphitebridge/graphite_test.go
View file @
0aa61c8e
File moved
pkg/metrics/metrics.go
→
pkg/
infra/
metrics/metrics.go
View file @
0aa61c8e
File moved
pkg/metrics/service.go
→
pkg/
infra/
metrics/service.go
View file @
0aa61c8e
...
...
@@ -3,8 +3,8 @@ package metrics
import
(
"context"
"github.com/grafana/grafana/pkg/infra/metrics/graphitebridge"
"github.com/grafana/grafana/pkg/log"
"github.com/grafana/grafana/pkg/metrics/graphitebridge"
"github.com/grafana/grafana/pkg/registry"
"github.com/grafana/grafana/pkg/setting"
)
...
...
pkg/metrics/settings.go
→
pkg/
infra/
metrics/settings.go
View file @
0aa61c8e
...
...
@@ -5,7 +5,7 @@ import (
"strings"
"time"
"github.com/grafana/grafana/pkg/metrics/graphitebridge"
"github.com/grafana/grafana/pkg/
infra/
metrics/graphitebridge"
"github.com/grafana/grafana/pkg/setting"
"github.com/prometheus/client_golang/prometheus"
)
...
...
pkg/infra/usagestats/usage_stats.go
View file @
0aa61c8e
...
...
@@ -9,7 +9,7 @@ import (
"strings"
"time"
"github.com/grafana/grafana/pkg/metrics"
"github.com/grafana/grafana/pkg/
infra/
metrics"
"github.com/grafana/grafana/pkg/models"
"github.com/grafana/grafana/pkg/plugins"
"github.com/grafana/grafana/pkg/setting"
...
...
pkg/middleware/request_metrics.go
View file @
0aa61c8e
...
...
@@ -6,7 +6,7 @@ import (
"strings"
"time"
"github.com/grafana/grafana/pkg/metrics"
"github.com/grafana/grafana/pkg/
infra/
metrics"
"gopkg.in/macaron.v1"
)
...
...
pkg/services/alerting/eval_handler.go
View file @
0aa61c8e
...
...
@@ -5,8 +5,8 @@ import (
"strings"
"time"
"github.com/grafana/grafana/pkg/infra/metrics"
"github.com/grafana/grafana/pkg/log"
"github.com/grafana/grafana/pkg/metrics"
)
type
DefaultEvalHandler
struct
{
...
...
pkg/services/alerting/notifier.go
View file @
0aa61c8e
...
...
@@ -7,8 +7,8 @@ import (
"github.com/grafana/grafana/pkg/bus"
"github.com/grafana/grafana/pkg/components/imguploader"
"github.com/grafana/grafana/pkg/infra/metrics"
"github.com/grafana/grafana/pkg/log"
"github.com/grafana/grafana/pkg/metrics"
"github.com/grafana/grafana/pkg/services/rendering"
"github.com/grafana/grafana/pkg/setting"
...
...
pkg/services/alerting/reader.go
View file @
0aa61c8e
...
...
@@ -5,8 +5,8 @@ import (
"time"
"github.com/grafana/grafana/pkg/bus"
"github.com/grafana/grafana/pkg/infra/metrics"
"github.com/grafana/grafana/pkg/log"
"github.com/grafana/grafana/pkg/metrics"
m
"github.com/grafana/grafana/pkg/models"
)
...
...
pkg/services/alerting/result_handler.go
View file @
0aa61c8e
...
...
@@ -5,8 +5,8 @@ import (
"github.com/grafana/grafana/pkg/bus"
"github.com/grafana/grafana/pkg/components/simplejson"
"github.com/grafana/grafana/pkg/infra/metrics"
"github.com/grafana/grafana/pkg/log"
"github.com/grafana/grafana/pkg/metrics"
m
"github.com/grafana/grafana/pkg/models"
"github.com/grafana/grafana/pkg/services/annotations"
"github.com/grafana/grafana/pkg/services/rendering"
...
...
pkg/services/sqlstore/dashboard.go
View file @
0aa61c8e
...
...
@@ -5,7 +5,7 @@ import (
"time"
"github.com/grafana/grafana/pkg/bus"
"github.com/grafana/grafana/pkg/metrics"
"github.com/grafana/grafana/pkg/
infra/
metrics"
m
"github.com/grafana/grafana/pkg/models"
"github.com/grafana/grafana/pkg/services/search"
"github.com/grafana/grafana/pkg/util"
...
...
pkg/services/sqlstore/datasource.go
View file @
0aa61c8e
...
...
@@ -7,7 +7,7 @@ import (
"github.com/grafana/grafana/pkg/bus"
"github.com/grafana/grafana/pkg/components/securejsondata"
"github.com/grafana/grafana/pkg/metrics"
"github.com/grafana/grafana/pkg/
infra/
metrics"
m
"github.com/grafana/grafana/pkg/models"
)
...
...
pkg/tsdb/cloudwatch/cloudwatch.go
View file @
0aa61c8e
...
...
@@ -24,7 +24,7 @@ import (
"github.com/aws/aws-sdk-go/service/resourcegroupstaggingapi/resourcegroupstaggingapiiface"
"github.com/grafana/grafana/pkg/components/null"
"github.com/grafana/grafana/pkg/components/simplejson"
"github.com/grafana/grafana/pkg/metrics"
"github.com/grafana/grafana/pkg/
infra/
metrics"
)
type
CloudWatchExecutor
struct
{
...
...
pkg/tsdb/cloudwatch/metric_find_query.go
View file @
0aa61c8e
...
...
@@ -17,7 +17,7 @@ import (
"github.com/aws/aws-sdk-go/service/ec2"
"github.com/aws/aws-sdk-go/service/resourcegroupstaggingapi"
"github.com/grafana/grafana/pkg/components/simplejson"
"github.com/grafana/grafana/pkg/metrics"
"github.com/grafana/grafana/pkg/
infra/
metrics"
"github.com/grafana/grafana/pkg/tsdb"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment