Coder Social home page Coder Social logo

ccfos / nightingale Goto Github PK

View Code? Open in Web Editor NEW
8.8K 153.0 1.3K 48.9 MB

An all-in-one observability solution which aims to combine the advantages of Prometheus and Grafana. It manages alert rules and visualizes metrics, logs, traces in a beautiful web UI.

Home Page: https://flashcat.cloud/docs/

License: Apache License 2.0

Go 91.77% Python 7.08% Smarty 0.87% Makefile 0.15% Shell 0.11% Dockerfile 0.02%
monitoring time-series nightingale tsdb open-falcon alerting metrics observability ccf

nightingale's People

Contributors

710leo avatar alick-liming avatar alrs avatar bbaobelief avatar canghai908 avatar chenjiandongx avatar chixianlianggithub avatar cyancow avatar dependabot[bot] avatar dujiashu avatar freedomkk-qfeng avatar higkoo avatar idcdog avatar joyexpr avatar jsers avatar keyun-istil avatar kongfei605 avatar laiwei avatar llitfkitfk avatar lostyear avatar lynxcat avatar ning1875 avatar shardinghe avatar tanxiao1990 avatar tianyanli avatar tripitakav avatar ulricqin avatar wdkcc avatar xiaoziv avatar yubo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nightingale's Issues

测试使用有几个问题

  1. 现有的mail-sender貌似不支持o365邮箱发件
  2. 我在指定节点新增关于端口的采集配置,然后我将次采集配置删除,但监控图表中仍有此端口的选项
  3. 是否可以将url监控做到控制台
  4. 用户权限这块,是否可以增加 人和目录树的关联,只能看指定目录树的图表
  5. 相同的报警策略,根节点配置了,子节点也配置了,但告警接收人不同,那么子节点的人收到了,根节点的人还能收到吗
  6. 是否可以有个清单,比如那些常规监控的插件可以和open-falcon共用
  7. 关于短信的sender是否可以提供下,在社区不活跃并且不会编程的人来说,使用上还是有点问题的

与条件告警恢复无法触发

触发条件为与条件时,当告警恢复时,若第一个条件就没满足时,将直接退出,不触发恢复通知
if len(exps) == 1 {条件满足不了

ERROR rpc/push.go:74 send too many col ons in address

请问我用源码自己编译的,go version go1.12 linux/amd64。 运行起来总是报这个错误。too many colons in address。网上流传的加中括号方案会直接导致退出运行,请问各位有遇到我这个问题吗?

地址为默认,安装在一台服务器上面。
PS:
2020-03-24 10:50:36.972499 ERROR rpc/push.go:74 send [0xc00008cc30] to
index addr:192.168.19.32:5831 fail: addr:192.168.19.32:5831 get connect
ion fail: conn , err address addr:192.168.19.32:5831: too many col
ons in address. proc: Name:addr:192.168.19.32:5831,Cnt:0,active:0,all:0
,free:0

mac goland debug环境

  1. goland address.local.yml找不到

image

debug src/modules/collector/collector.go 说是找不到address.local.yml

解决方案
image

Judge模块取数问题

Judge模块在判断第一个规则的时候用linkedList.HistoryData(needCount),如果监控指标在上报过程中丢点,是否存在取到判断周期外的数据

ubuntu18.04 glibc2.27 go build 后会报错,不知如何解决

# github.com/open-falcon/rrdlite
In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33:0,
                 from /usr/include/stdlib.h:25,
                 from _cgo_export.c:3:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
# github.com/open-falcon/rrdlite
In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33:0,
                 from /usr/include/stdlib.h:25,
                 from vendor/github.com/open-falcon/rrdlite/rrd_c.go:4:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
# github.com/open-falcon/rrdlite
In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33:0,
                 from /usr/include/stdlib.h:25,
                 from hash_32.c:61:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
# github.com/open-falcon/rrdlite
In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33:0,
                 from /usr/include/stdlib.h:25,
                 from rrd_create.c:7:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
# github.com/open-falcon/rrdlite
In file included from /usr/include/ctype.h:25:0,
                 from rrd_diff.c:38:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
# github.com/open-falcon/rrdlite
In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33:0,
                 from /usr/include/stdlib.h:25,
                 from rrd_error.c:36:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
# github.com/open-falcon/rrdlite
In file included from rrd_config_bottom.h:14:0,
                 from rrd_config.h:397,
                 from rrd_tool.h:17,
                 from rrd_fetch.c:55:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
# github.com/open-falcon/rrdlite
In file included from rrd_config_bottom.h:14:0,
                 from rrd_config.h:397,
                 from rrd_tool.h:17,
                 from rrd_format.c:50:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
# github.com/open-falcon/rrdlite
In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33:0,
                 from /usr/include/stdlib.h:25,
                 from rrd_hw.c:9:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
# github.com/open-falcon/rrdlite
In file included from rrd_config_bottom.h:14:0,
                 from rrd_config.h:397,
                 from rrd_tool.h:17,
                 from rrd_hw_math.c:5:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
# github.com/open-falcon/rrdlite
In file included from rrd_config_bottom.h:14:0,
                 from rrd_config.h:397,
                 from rrd_tool.h:17,
                 from rrd_hw_update.c:5:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
# github.com/open-falcon/rrdlite
In file included from rrd_config_bottom.h:14:0,
                 from rrd_config.h:397,
                 from rrd_tool.h:17,
                 from rrd_info.c:7:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
# github.com/open-falcon/rrdlite
In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25:0,
                 from rrd.h:55,
                 from rrd_nan_inf.c:15:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
# github.com/open-falcon/rrdlite
In file included from rrd_config_bottom.h:14:0,
                 from rrd_config.h:397,
                 from rrd_tool.h:17,
                 from rrd_open.c:9:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
# github.com/open-falcon/rrdlite
In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33:0,
                 from /usr/include/stdlib.h:25,
                 from rrd_parsetime.c:118:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
# github.com/open-falcon/rrdlite
In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33:0,
                 from /usr/include/limits.h:26,
                 from /usr/lib/gcc/x86_64-linux-gnu/7/include-fixed/limits.h:194,
                 from /usr/lib/gcc/x86_64-linux-gnu/7/include-fixed/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-linux-gnu/7/include-fixed/limits.h:34,
                 from rrd_rpncalc.c:7:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
# github.com/open-falcon/rrdlite
In file included from rrd_config_bottom.h:14:0,
                 from rrd_config.h:397,
                 from rrd_tool.h:17,
                 from rrd_update.c:10:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
# github.com/open-falcon/rrdlite
In file included from rrd_config_bottom.h:14:0,
                 from rrd_config.h:397,
                 from rrd_tool.h:17,
                 from rrd_utils.c:24:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
# github.com/open-falcon/rrdlite
In file included from rrd_config_bottom.h:14:0,
                 from rrd_config.h:397,
                 from rrd_tool.h:17,
                 from rrd_version.c:9:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
# github.com/open-falcon/rrdlite
In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33:0,
                 from /usr/include/stdlib.h:25,
                 from rrdfunc.c:1:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~

图表聚合问题

假如有endpoint、url、code三个tagk。
我需要根据url来group == 聚合,没生效。
1、结果没根据url来聚合
2、曲线的Legend也没对应更新

打包文件名优化

-rw-r--r--   1 spy  staff    64M Mar 23 18:15 n9e-2020-03-23-18-15-19.tar.gz

建议文件名改成:n9e-202003231815.targ.gz

English web interface

Please support i18n in the web interface, and add English translation.

Default language preference should be configurable.

About development roadmap

Thanks for nightngale-team's contributions.

nightngale is an awesome project on the monitoring system filed. And I want to know that does nightngale has a development roadmap about its future version?

endpoint的别名怎么在客户端设置

默认collector上报的endpoint是IP

一般我会在web上别名设置为主机名,将IP和主机名关联起来

如何在collector设置别名,自动上报上来

server.go:3061: http: Accept error: accept tcp [::]:5820: accept4: too many open files; retrying in 1s

日志logs/tsdb下面的stdout.log,一直在产生error:
2020/03/31 23:14:57 server.go:3061: http: Accept error: accept tcp [::]:5820: accept4: too many open files; retrying in 1s
2020/03/31 23:14:58 server.go:3061: http: Accept error: accept tcp [::]:5820: accept4: too many open files; retrying in 1s
2020/03/31 23:14:59 server.go:3061: http: Accept error: accept tcp [::]:5820: accept4: too many open files; retrying in 1s
2020/03/31 23:15:00 server.go:3061: http: Accept error: accept tcp [::]:5820: accept4: too many open files; retrying in 1s
2020/03/31 23:15:01 server.go:3061: http: Accept error: accept tcp [::]:5820: accept4: too many open files; retrying in 1s
2020/03/31 23:15:02 server.go:3061: http: Accept error: accept tcp [::]:5820: accept4: too many open files; retrying in 1s
2020/03/31 23:15:03 server.go:3061: http: Accept error: accept tcp [::]:5820: accept4: too many open files; retrying in 1s

其他信息:
-bash-4.2# ss -ntlp |grep 58
LISTEN 0 128 127.0.0.1:6379 : users:(("redis-server",pid=15810,fd=6))
LISTEN 0 128 :::2058 :::* users:(("n9e-collector",pid=13725,fd=12))
LISTEN 0 128 :::5840 :::* users:(("n9e-judge",pid=13699,fd=14))
LISTEN 0 128 :::5841 :::* users:(("n9e-judge",pid=13699,fd=11))
LISTEN 0 128 :::5810 :::* users:(("n9e-transfer",pid=13639,fd=13))
LISTEN 0 128 :::5811 :::* users:(("n9e-transfer",pid=13639,fd=12))
LISTEN 129 128 :::5820 :::* users:(("n9e-tsdb",pid=13656,fd=12))
LISTEN 0 128 :::5821 :::* users:(("n9e-tsdb",pid=13656,fd=13))
LISTEN 0 128 :::5830 :::* users:(("n9e-index",pid=13672,fd=13))
LISTEN 0 128 :::5831 :::* users:(("n9e-index",pid=13672,fd=12))
LISTEN 0 128 :::5800 :::* users:(("n9e-monapi",pid=13620,fd=18))

❗️提issue注意事项!

提问题?
请把问题现象、相关日志、初步排查结果写清楚,即提供尽量多的线索,这样方便我们定位问题。

提建议?
请写明白建议原因,即为何有此建议。

提修复PR?
请说明为何做此修改,需要做好测试。

提Feature?
建议先将想法提出,不着急写代码,与社区同道沟通,大家觉得OK再做代码实现

---

另外,我们是在做开源软件,不是服务于您的企业,做您的乙方,您一分钱没付,就不要颐指气使了,认同我们这个社区,则参与进来,不认同,就不参与,谢谢理解

采集配置,日志部分,时间格式只能选择现有的格式

采集配置,日志部分,时间格式只能选择现有的格式,不能自己设置。
比如我的环境里日志的时间格式是:
02-APR-2020 15:34:13 * service_died * LsnrAgt * 12537

而时间格式里可选的最接近的是类似 02-Apr-2020 15:34:13,
因为Apr这大小写问题就没法识别了。
希望能优化!!

界面优化

1、监控报警/监控看图/指标列表 点击各个tab 整体页面抖动

endpoint概念

endpoint是否要区分类型的?
有个疑惑点,endpoint设计的理念是监控主体,一般主机指标主体可以是ip(hostname),但是特殊场景下(比如聚合的集群指标)的endpoint可能会是集群的唯一标识,或者服务树节点编码。

endpoint统一到tags中吗?
endpoint可以看成一是类特殊的tag,业界流行的prometheus,influxdb等指标模型,只是metric+tags+type+...。夜莺的方向会将endpoint整合吗

图表支持环比么

你好,图表支持环比的什么时候开源(某个指标当前与一周前对比)?

通知组优化

前面有提到用增加虚拟人的方式解决,这样就失去了用户群组管理的优势,所有用户组仍然需要在外部管理。
如果用户组同时包含实际户与虚拟用户的话会导致告警信息重复。
是否考虑在用户组中增加邮件列表和消息群,mail和im的notify中直接放组的mail/im信息,再加单独订阅的用户的信息

告警群组优化

团队那里建议优化下:
1、Team增加IM标识,比如钉钉群的token。

监控大盘展示问题

问题1: 部分图标经常性出现只展示一个节点的数据,刷新后正常,经常出现,如下图所示:
image

问题2: 时间选择一天后图就变成这样了呢?
image

问题3: 时间选择能否支持 6小时 12小时 这样更多的区间段
image

感谢。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.