Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
doodoocoder
prometheus
提交
438e232c
P
prometheus
项目概览
doodoocoder
/
prometheus
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
prometheus
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
438e232c
编写于
8月 22, 2015
作者:
F
Fabian Reinartz
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix grouping of import blocks
上级
6d0f58dc
变更
25
隐藏空白更改
内联
并排
Showing
25 changed file
with
25 addition
and
46 deletion
+25
-46
config/config.go
config/config.go
+1
-2
config/config_test.go
config/config_test.go
+1
-2
notification/notification.go
notification/notification.go
+1
-2
promql/analyzer.go
promql/analyzer.go
+1
-2
promql/engine.go
promql/engine.go
+1
-2
promql/parse.go
promql/parse.go
+1
-2
promql/parse_test.go
promql/parse_test.go
+1
-0
retrieval/discovery/consul.go
retrieval/discovery/consul.go
+1
-2
retrieval/discovery/dns.go
retrieval/discovery/dns.go
+1
-2
retrieval/discovery/file.go
retrieval/discovery/file.go
+1
-2
retrieval/discovery/kubernetes/discovery.go
retrieval/discovery/kubernetes/discovery.go
+1
-0
retrieval/discovery/serverset.go
retrieval/discovery/serverset.go
+1
-2
retrieval/targetmanager.go
retrieval/targetmanager.go
+1
-2
rules/manager.go
rules/manager.go
+1
-2
storage/local/crashrecovery.go
storage/local/crashrecovery.go
+1
-2
storage/local/interface.go
storage/local/interface.go
+0
-1
storage/local/persistence.go
storage/local/persistence.go
+1
-2
storage/local/storage.go
storage/local/storage.go
+1
-2
storage/local/storage_test.go
storage/local/storage_test.go
+1
-2
storage/remote/queue_manager.go
storage/remote/queue_manager.go
+1
-2
storage/remote/remote.go
storage/remote/remote.go
+3
-4
web/api/legacy/api.go
web/api/legacy/api.go
+0
-1
web/api/legacy/query.go
web/api/legacy/query.go
+1
-2
web/api/v1/api.go
web/api/v1/api.go
+1
-2
web/api/v1/api_test.go
web/api/v1/api_test.go
+1
-2
未找到文件。
config/config.go
浏览文件 @
438e232c
...
...
@@ -23,9 +23,8 @@ import (
"strings"
"time"
"gopkg.in/yaml.v2"
"github.com/prometheus/common/model"
"gopkg.in/yaml.v2"
"github.com/prometheus/prometheus/util/strutil"
)
...
...
config/config_test.go
浏览文件 @
438e232c
...
...
@@ -22,9 +22,8 @@ import (
"testing"
"time"
"gopkg.in/yaml.v2"
"github.com/prometheus/common/model"
"gopkg.in/yaml.v2"
)
var
expectedConf
=
&
Config
{
...
...
notification/notification.go
浏览文件 @
438e232c
...
...
@@ -23,9 +23,8 @@ import (
"time"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/log"
"github.com/prometheus/common/model"
"github.com/prometheus/log"
"github.com/prometheus/prometheus/util/httputil"
)
...
...
promql/analyzer.go
浏览文件 @
438e232c
...
...
@@ -17,9 +17,8 @@ import (
"errors"
"time"
"golang.org/x/net/context"
"github.com/prometheus/common/model"
"golang.org/x/net/context"
"github.com/prometheus/prometheus/storage/local"
)
...
...
promql/engine.go
浏览文件 @
438e232c
...
...
@@ -22,11 +22,10 @@ import (
"strconv"
"time"
"github.com/prometheus/common/model"
"github.com/prometheus/log"
"golang.org/x/net/context"
"github.com/prometheus/common/model"
"github.com/prometheus/prometheus/storage/local"
"github.com/prometheus/prometheus/storage/metric"
"github.com/prometheus/prometheus/util/stats"
...
...
promql/parse.go
浏览文件 @
438e232c
...
...
@@ -20,9 +20,8 @@ import (
"strings"
"time"
"github.com/prometheus/log"
"github.com/prometheus/common/model"
"github.com/prometheus/log"
"github.com/prometheus/prometheus/storage/metric"
"github.com/prometheus/prometheus/util/strutil"
...
...
promql/parse_test.go
浏览文件 @
438e232c
...
...
@@ -22,6 +22,7 @@ import (
"time"
"github.com/prometheus/common/model"
"github.com/prometheus/prometheus/storage/metric"
)
...
...
retrieval/discovery/consul.go
浏览文件 @
438e232c
...
...
@@ -21,10 +21,9 @@ import (
"sync"
"time"
"github.com/prometheus/log"
consul
"github.com/hashicorp/consul/api"
"github.com/prometheus/common/model"
"github.com/prometheus/log"
"github.com/prometheus/prometheus/config"
)
...
...
retrieval/discovery/dns.go
浏览文件 @
438e232c
...
...
@@ -22,9 +22,8 @@ import (
"github.com/miekg/dns"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/log"
"github.com/prometheus/common/model"
"github.com/prometheus/log"
"github.com/prometheus/prometheus/config"
)
...
...
retrieval/discovery/file.go
浏览文件 @
438e232c
...
...
@@ -21,12 +21,11 @@ import (
"strings"
"time"
"github.com/prometheus/common/model"
"github.com/prometheus/log"
"gopkg.in/fsnotify.v1"
"gopkg.in/yaml.v2"
"github.com/prometheus/common/model"
"github.com/prometheus/prometheus/config"
)
...
...
retrieval/discovery/kubernetes/discovery.go
浏览文件 @
438e232c
...
...
@@ -27,6 +27,7 @@ import (
"github.com/prometheus/common/model"
"github.com/prometheus/log"
"github.com/prometheus/prometheus/config"
"github.com/prometheus/prometheus/util/httputil"
"github.com/prometheus/prometheus/util/strutil"
...
...
retrieval/discovery/serverset.go
浏览文件 @
438e232c
...
...
@@ -21,11 +21,10 @@ import (
"sync"
"time"
"github.com/prometheus/common/model"
"github.com/prometheus/log"
"github.com/samuel/go-zookeeper/zk"
"github.com/prometheus/common/model"
"github.com/prometheus/prometheus/config"
"github.com/prometheus/prometheus/util/strutil"
)
...
...
retrieval/targetmanager.go
浏览文件 @
438e232c
...
...
@@ -18,9 +18,8 @@ import (
"strings"
"sync"
"github.com/prometheus/log"
"github.com/prometheus/common/model"
"github.com/prometheus/log"
"github.com/prometheus/prometheus/config"
"github.com/prometheus/prometheus/retrieval/discovery"
...
...
rules/manager.go
浏览文件 @
438e232c
...
...
@@ -24,9 +24,8 @@ import (
html_template
"html/template"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/log"
"github.com/prometheus/common/model"
"github.com/prometheus/log"
"github.com/prometheus/prometheus/config"
"github.com/prometheus/prometheus/notification"
...
...
storage/local/crashrecovery.go
浏览文件 @
438e232c
...
...
@@ -21,9 +21,8 @@ import (
"strings"
"sync/atomic"
"github.com/prometheus/log"
"github.com/prometheus/common/model"
"github.com/prometheus/log"
"github.com/prometheus/prometheus/storage/local/codable"
"github.com/prometheus/prometheus/storage/local/index"
...
...
storage/local/interface.go
浏览文件 @
438e232c
...
...
@@ -17,7 +17,6 @@ import (
"time"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/common/model"
"github.com/prometheus/prometheus/storage/metric"
...
...
storage/local/persistence.go
浏览文件 @
438e232c
...
...
@@ -29,9 +29,8 @@ import (
"time"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/log"
"github.com/prometheus/common/model"
"github.com/prometheus/log"
"github.com/prometheus/prometheus/storage/local/codable"
"github.com/prometheus/prometheus/storage/local/index"
...
...
storage/local/storage.go
浏览文件 @
438e232c
...
...
@@ -21,9 +21,8 @@ import (
"time"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/log"
"github.com/prometheus/common/model"
"github.com/prometheus/log"
"github.com/prometheus/prometheus/storage/metric"
)
...
...
storage/local/storage_test.go
浏览文件 @
438e232c
...
...
@@ -22,9 +22,8 @@ import (
"testing/quick"
"time"
"github.com/prometheus/log"
"github.com/prometheus/common/model"
"github.com/prometheus/log"
"github.com/prometheus/prometheus/storage/metric"
"github.com/prometheus/prometheus/util/testutil"
...
...
storage/remote/queue_manager.go
浏览文件 @
438e232c
...
...
@@ -17,9 +17,8 @@ import (
"time"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/log"
"github.com/prometheus/common/model"
"github.com/prometheus/log"
)
const
(
...
...
storage/remote/remote.go
浏览文件 @
438e232c
...
...
@@ -16,12 +16,11 @@ package remote
import
(
"time"
"github.com/prometheus/prometheus/storage/remote/influxdb"
"github.com/prometheus/prometheus/storage/remote/opentsdb"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/common/model"
"github.com/prometheus/prometheus/storage/remote/influxdb"
"github.com/prometheus/prometheus/storage/remote/opentsdb"
)
// Storage collects multiple remote storage queues.
...
...
web/api/legacy/api.go
浏览文件 @
438e232c
...
...
@@ -17,7 +17,6 @@ import (
"net/http"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/common/model"
"github.com/prometheus/prometheus/promql"
...
...
web/api/legacy/query.go
浏览文件 @
438e232c
...
...
@@ -24,9 +24,8 @@ import (
"strconv"
"time"
"github.com/prometheus/log"
"github.com/prometheus/common/model"
"github.com/prometheus/log"
"github.com/prometheus/prometheus/promql"
)
...
...
web/api/v1/api.go
浏览文件 @
438e232c
...
...
@@ -10,9 +10,8 @@ import (
"time"
"github.com/prometheus/client_golang/prometheus"
"golang.org/x/net/context"
"github.com/prometheus/common/model"
"golang.org/x/net/context"
"github.com/prometheus/prometheus/promql"
"github.com/prometheus/prometheus/storage/local"
...
...
web/api/v1/api_test.go
浏览文件 @
438e232c
...
...
@@ -12,9 +12,8 @@ import (
"testing"
"time"
"golang.org/x/net/context"
"github.com/prometheus/common/model"
"golang.org/x/net/context"
"github.com/prometheus/prometheus/promql"
"github.com/prometheus/prometheus/storage/metric"
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录