Commit Graph

694 Commits

Author SHA1 Message Date
qinyening 313144bebf
agent支持metrics指标采集能力 (#368) 2020-10-29 16:54:48 +08:00
yubo c6b5a5b400
feature: support reset password by sms code (#365)
* add logout v2 for sso

* support sms-code login

* use db instead of memory cache for login code

* feature: support reset password by sms code
2020-10-29 07:03:57 +08:00
yubo 1fdcbd848c
Dev (#361)
* add logout v2 for sso

* support sms-code login

* use db instead of memory cache for login code
2020-10-27 17:51:39 +08:00
UlricQin e63e741ad6 job api for tt 2020-10-27 09:57:58 +08:00
Ulric Qin e5b95921cf add some validator for hostFieldNew 2020-10-25 20:06:46 +08:00
Ulric Qin 8c6726800f host field management done 2020-10-25 20:00:08 +08:00
Ulric Qin 6987b3b4d4 add host fields 2020-10-25 19:33:34 +08:00
Ulric Qin 28a2196143 use ips when recycle and del hosts 2020-10-25 18:16:20 +08:00
yubo 5b9a03a261
add OAuth2.0 callback/authorize V2 for UI (#353)
* support openID2.0

* generate UUID if it's not set

* change OAuth2 callback method to API style
2020-10-23 15:22:06 +08:00
710leo cc3b3575b6 sync from internal 2020-10-22 21:23:39 +08:00
710leo 86929d8f69 fix monapi clean stra 2020-10-22 11:26:56 +08:00
710leo 39fa7e3e17 refactor /v1/rdb/node/:id/resources 2020-10-21 17:43:35 +08:00
qinyening 2e80e82fc4
change hbs api & change perm point (#344)
* change hbs api & change perm point
2020-10-17 17:32:15 +08:00
yubo 91700ab93e
[ADD] generate UUID if it's not set (#338)
* support openID2.0

* generate UUID if it's not set
2020-10-14 15:02:58 +08:00
yubo ecc736be8b
support openID2.0 (#337) 2020-10-14 13:30:53 +08:00
Ulric Qin 8feb2287cc code refactor 2020-10-13 13:14:38 +08:00
Ulric Qin e8d907156c upgrade 3.1.3 2020-10-13 13:09:02 +08:00
Ulric Qin 744980f119 cannot modify node-category to tenant 2020-10-13 09:35:34 +08:00
Ulric Qin 7f4dd8859e code refactor 2020-10-12 18:04:59 +08:00
UlricQin b867c985ed bugfix: job callback for mon use method: post 2020-10-12 11:53:08 +08:00
Ulric Qin 0baa06cee0 rdb support wechat_robot and dingtalk_robot 2020-10-11 08:33:30 +08:00
alick-liming e84d7f8741
im add wechat_robot and dingtalk_robot (#332)
* im wechat

* im wechat

* im add wechat_robot dingtalk_robot

Co-authored-by: alickliming <alickliming@didi.global.com>
2020-10-11 08:24:04 +08:00
Ulric Qin c4ad9f1e88 refactor wechat sender 2020-10-09 22:47:10 +08:00
alick-liming 8455994118
im wechat (#330)
* im wechat

* im wechat

Co-authored-by: alickliming <alickliming@didi.global.com>
2020-10-09 22:42:19 +08:00
Ulric Qin 97acc7d1d0 del stras if node not exists 2020-10-08 19:46:54 +08:00
Ulric Qin 3534aa7e69 bugfix: GetLeafNidsForMon check node is nil 2020-10-08 19:39:52 +08:00
Ulric Qin 18ef32a34c bugfix: log collect locker 2020-10-02 11:17:22 +08:00
alick-liming fe81c6cad7
配置调整,连接检查 (#314)
* 1.rabbitmq 配置文件 2.连接检查

* 代码调整

* 启动协程

* rabbitmq 连接检查代码调优

* rabbitmq 连接检查代码调优

Co-authored-by: alickliming <alickliming@didi.global.com>
2020-09-28 17:20:31 +08:00
litianshun 68b213b737
influxdb query sql bug fix (#313)
* bug fix influxdb query data, query index

Co-authored-by: litianshun <litianshun@meicai.cn>
2020-09-28 11:10:16 +08:00
Ulric Qin 9e881bc9a5 use rabbitmq 2020-09-26 23:09:03 +08:00
Ulric Qin ae705e1b40 refactor operation log new 2020-09-26 21:45:23 +08:00
710leo ed35ddc388 3.0.0 2020-09-26 16:53:10 +08:00
710leo 86b31575eb clean code 2020-09-26 16:28:27 +08:00
UlricQin 9cb3bd564b code refactor: stats.init 2020-09-22 10:42:50 +08:00
sunyu bc884175be
Configure collector push address (#296)
* "配置化collector推送地址"

* "配置化collector推送地址"

Co-authored-by: 孙宇 <suny129@chinaunicom.cn>
2020-09-16 20:33:00 +08:00
zhuxingtao 944982898e fix: misspelling 2020-09-09 19:23:40 +08:00
chixianliangGithub a8357dffb9
更改代码顺序,提高代码性能 (#291)
Co-authored-by: chixl <chixl@t3go.cn>
2020-09-02 15:05:38 +08:00
UlricQin f5d050f3f2 delete /api/transfer/v2 2020-08-25 16:19:47 +08:00
UlricQin 2a79303241 add QueryDataV2 2020-08-25 15:29:23 +08:00
xingren23 a72fa5b8dd
collect config sys enable,default true (#272)
Co-authored-by: wangzhiguo04 <wangzhiguo04@meicai.cn>
2020-07-26 12:31:31 +08:00
xingren23 66421ae557
refactor collect push , sys -> core (#271)
Co-authored-by: wangzhiguo04 <wangzhiguo04@meicai.cn>
2020-07-26 12:28:45 +08:00
710leo d70e60d4a5 fix exclude leaf nid when sync stra 2020-07-22 21:11:00 +08:00
youtwo123 7abec2ccb8
[transfer] fix and trigger generates event twice bug (#266)
* [transfer] fix and trigger generates event twice bug
* [monapi] stra excl all leaf nodes under exclNid
2020-07-22 17:08:38 +08:00
杨善阳 b63c4e510c
修改adress.go的convPort方法,支持IPv6地址之间建立连接。 (#248)
monapi:
  http: '[::]:5800'
  address:
  - '[::1]'
2020-07-20 09:58:03 +08:00
xingren23 520dda70c0
refactor transfer datasources for ui/judge, implement tsdb(+index) an… (#246)
* refactor transfer datasources for ui/judge, implement tsdb(+index) and influxdb

* fix error string; fix import identidy ; refactor pushendpoint init

* fix influx queryData

Co-authored-by: wangzhiguo04 <wangzhiguo04@meicai.cn>
2020-07-20 09:57:22 +08:00
UlricQin b6169ac706 agent interface /v1/push compatible with open-falcon 2020-07-11 10:42:34 +08:00
710leo a283329e4d Change tagkv count limit 2020-07-08 18:14:49 +08:00
710leo 5bb48df01d Merge branch 'master' of https://github.com/didi/nightingale 2020-07-07 14:12:02 +08:00
710leo b3e961a3c6 filterString rm ':' 2020-07-07 14:11:50 +08:00
UlricQin 420b61ab52 use release mode in collector 2020-07-06 14:46:39 +08:00
UlricQin dbd81eed2b code refactor 2020-07-03 12:38:20 +08:00
710leo d0a00236ba fix upgrading link in readme 2020-07-02 14:52:54 +08:00
UlricQin 01aa9352aa set judge.query.maxConn default to 100 2020-07-01 16:27:26 +08:00
710leo c232260e46 Fix change 2020-06-30 00:04:31 +08:00
710leo bce825ff32 Change push index from async to sync 2020-06-29 23:57:15 +08:00
710leo 3c1ed52bb9 Change push index from async to sync 2020-06-29 23:49:20 +08:00
Ulric Qin 19890460b9 index.rebuildInterval modify to 6h 2020-06-28 17:05:22 +08:00
Ulric Qin a46824c8ab Merge branch 'master' of github.com:didi/nightingale 2020-06-28 17:03:05 +08:00
Ulric Qin bbfa03c894 index.rebuildInterval modify to 12h 2020-06-28 17:02:51 +08:00
710leo 56d1f7b6eb Fix judge get index addrs 2020-06-27 15:34:49 +08:00
710leo 1d2e183839 Delete collect which does not find nid 2020-06-26 18:20:37 +08:00
710leo d741f24e8c Not allowed same collect name in same nodepath 2020-06-26 16:31:28 +08:00
710leo 22489f2dec Support tagkv check 2020-06-26 16:12:54 +08:00
mt 163c116871
transfer support kafka (#227)
* 修改:     etc/transfer.yml
	修改:     go.mod
	修改:     go.sum
	修改:     src/modules/transfer/backend/init.go
	新文件:   src/modules/transfer/backend/kafka.go
	修改:     src/modules/transfer/backend/sender.go
	修改:     src/modules/transfer/http/routes/push_router.go
	修改:     src/modules/transfer/rpc/push.go
	新文件:   vendor/github.com/Shopify/sarama/.gitignore
	新文件:   vendor/github.com/Shopify/sarama/.golangci.yml
	新文件:   vendor/github.com/Shopify/sarama/CHANGELOG.md
	新文件:   vendor/github.com/Shopify/sarama/LICENSE
	新文件:   vendor/github.com/Shopify/sarama/Makefile
	新文件:   vendor/github.com/Shopify/sarama/README.md
	新文件:   vendor/github.com/Shopify/sarama/Vagrantfile
	新文件:   vendor/github.com/Shopify/sarama/acl_bindings.go
	新文件:   vendor/github.com/Shopify/sarama/acl_create_request.go
	新文件:   vendor/github.com/Shopify/sarama/acl_create_response.go
	新文件:   vendor/github.com/Shopify/sarama/acl_delete_request.go
	新文件:   vendor/github.com/Shopify/sarama/acl_delete_response.go
	新文件:   vendor/github.com/Shopify/sarama/acl_describe_request.go
	新文件:   vendor/github.com/Shopify/sarama/acl_describe_response.go
	新文件:   vendor/github.com/Shopify/sarama/acl_filter.go
	新文件:   vendor/github.com/Shopify/sarama/acl_types.go
	新文件:   vendor/github.com/Shopify/sarama/add_offsets_to_txn_request.go
	新文件:   vendor/github.com/Shopify/sarama/add_offsets_to_txn_response.go
	新文件:   vendor/github.com/Shopify/sarama/add_partitions_to_txn_request.go
	新文件:   vendor/github.com/Shopify/sarama/add_partitions_to_txn_response.go
	新文件:   vendor/github.com/Shopify/sarama/admin.go
	新文件:   vendor/github.com/Shopify/sarama/alter_configs_request.go
	新文件:   vendor/github.com/Shopify/sarama/alter_configs_response.go
	新文件:   vendor/github.com/Shopify/sarama/alter_partition_reassignments_request.go
	新文件:   vendor/github.com/Shopify/sarama/alter_partition_reassignments_response.go
	新文件:   vendor/github.com/Shopify/sarama/api_versions_request.go
	新文件:   vendor/github.com/Shopify/sarama/api_versions_response.go
	新文件:   vendor/github.com/Shopify/sarama/async_producer.go
	新文件:   vendor/github.com/Shopify/sarama/balance_strategy.go
	新文件:   vendor/github.com/Shopify/sarama/broker.go
	新文件:   vendor/github.com/Shopify/sarama/client.go
	新文件:   vendor/github.com/Shopify/sarama/compress.go
	新文件:   vendor/github.com/Shopify/sarama/config.go
	新文件:   vendor/github.com/Shopify/sarama/config_resource_type.go
	新文件:   vendor/github.com/Shopify/sarama/consumer.go
	新文件:   vendor/github.com/Shopify/sarama/consumer_group.go
	新文件:   vendor/github.com/Shopify/sarama/consumer_group_members.go
	新文件:   vendor/github.com/Shopify/sarama/consumer_metadata_request.go
	新文件:   vendor/github.com/Shopify/sarama/consumer_metadata_response.go
	新文件:   vendor/github.com/Shopify/sarama/control_record.go
	新文件:   vendor/github.com/Shopify/sarama/crc32_field.go
	新文件:   vendor/github.com/Shopify/sarama/create_partitions_request.go
	新文件:   vendor/github.com/Shopify/sarama/create_partitions_response.go
	新文件:   vendor/github.com/Shopify/sarama/create_topics_request.go
	新文件:   vendor/github.com/Shopify/sarama/create_topics_response.go
	新文件:   vendor/github.com/Shopify/sarama/decompress.go
	新文件:   vendor/github.com/Shopify/sarama/delete_groups_request.go
	新文件:   vendor/github.com/Shopify/sarama/delete_groups_response.go
	新文件:   vendor/github.com/Shopify/sarama/delete_records_request.go
	新文件:   vendor/github.com/Shopify/sarama/delete_records_response.go
	新文件:   vendor/github.com/Shopify/sarama/delete_topics_request.go
	新文件:   vendor/github.com/Shopify/sarama/delete_topics_response.go
	新文件:   vendor/github.com/Shopify/sarama/describe_configs_request.go
	新文件:   vendor/github.com/Shopify/sarama/describe_configs_response.go
	新文件:   vendor/github.com/Shopify/sarama/describe_groups_request.go
	新文件:   vendor/github.com/Shopify/sarama/describe_groups_response.go
	新文件:   vendor/github.com/Shopify/sarama/describe_log_dirs_request.go
	新文件:   vendor/github.com/Shopify/sarama/describe_log_dirs_response.go
	新文件:   vendor/github.com/Shopify/sarama/dev.yml
	新文件:   vendor/github.com/Shopify/sarama/encoder_decoder.go
	新文件:   vendor/github.com/Shopify/sarama/end_txn_request.go
	新文件:   vendor/github.com/Shopify/sarama/end_txn_response.go
	新文件:   vendor/github.com/Shopify/sarama/errors.go
	新文件:   vendor/github.com/Shopify/sarama/fetch_request.go
	新文件:   vendor/github.com/Shopify/sarama/fetch_response.go
	新文件:   vendor/github.com/Shopify/sarama/find_coordinator_request.go
	新文件:   vendor/github.com/Shopify/sarama/find_coordinator_response.go
	新文件:   vendor/github.com/Shopify/sarama/go.mod
	新文件:   vendor/github.com/Shopify/sarama/go.sum
	新文件:   vendor/github.com/Shopify/sarama/gssapi_kerberos.go
	新文件:   vendor/github.com/Shopify/sarama/heartbeat_request.go
	新文件:   vendor/github.com/Shopify/sarama/heartbeat_response.go
	新文件:   vendor/github.com/Shopify/sarama/init_producer_id_request.go
	新文件:   vendor/github.com/Shopify/sarama/init_producer_id_response.go
	新文件:   vendor/github.com/Shopify/sarama/join_group_request.go
	新文件:   vendor/github.com/Shopify/sarama/join_group_response.go
	新文件:   vendor/github.com/Shopify/sarama/kerberos_client.go
	新文件:   vendor/github.com/Shopify/sarama/leave_group_request.go
	新文件:   vendor/github.com/Shopify/sarama/leave_group_response.go
	新文件:   vendor/github.com/Shopify/sarama/length_field.go
	新文件:   vendor/github.com/Shopify/sarama/list_groups_request.go
	新文件:   vendor/github.com/Shopify/sarama/list_groups_response.go
	新文件:   vendor/github.com/Shopify/sarama/list_partition_reassignments_request.go
	新文件:   vendor/github.com/Shopify/sarama/list_partition_reassignments_response.go
	新文件:   vendor/github.com/Shopify/sarama/message.go
	新文件:   vendor/github.com/Shopify/sarama/message_set.go
	新文件:   vendor/github.com/Shopify/sarama/metadata_request.go
	新文件:   vendor/github.com/Shopify/sarama/metadata_response.go
	新文件:   vendor/github.com/Shopify/sarama/metrics.go
	新文件:   vendor/github.com/Shopify/sarama/mockbroker.go
	新文件:   vendor/github.com/Shopify/sarama/mockkerberos.go
	新文件:   vendor/github.com/Shopify/sarama/mockresponses.go
	新文件:   vendor/github.com/Shopify/sarama/offset_commit_request.go
	新文件:   vendor/github.com/Shopify/sarama/offset_commit_response.go
	新文件:   vendor/github.com/Shopify/sarama/offset_fetch_request.go
	新文件:   vendor/github.com/Shopify/sarama/offset_fetch_response.go
	新文件:   vendor/github.com/Shopify/sarama/offset_manager.go
	新文件:   vendor/github.com/Shopify/sarama/offset_request.go
	新文件:   vendor/github.com/Shopify/sarama/offset_response.go
	新文件:   vendor/github.com/Shopify/sarama/packet_decoder.go
	新文件:   vendor/github.com/Shopify/sarama/packet_encoder.go
	新文件:   vendor/github.com/Shopify/sarama/partitioner.go
	新文件:   vendor/github.com/Shopify/sarama/prep_encoder.go
	新文件:   vendor/github.com/Shopify/sarama/produce_request.go
	新文件:   vendor/github.com/Shopify/sarama/produce_response.go
	新文件:   vendor/github.com/Shopify/sarama/produce_set.go
	新文件:   vendor/github.com/Shopify/sarama/real_decoder.go
	新文件:   vendor/github.com/Shopify/sarama/real_encoder.go
	新文件:   vendor/github.com/Shopify/sarama/record.go
	新文件:   vendor/github.com/Shopify/sarama/record_batch.go
	新文件:   vendor/github.com/Shopify/sarama/records.go
	新文件:   vendor/github.com/Shopify/sarama/request.go
	新文件:   vendor/github.com/Shopify/sarama/response_header.go
	新文件:   vendor/github.com/Shopify/sarama/sarama.go
	新文件:   vendor/github.com/Shopify/sarama/sasl_authenticate_request.go
	新文件:   vendor/github.com/Shopify/sarama/sasl_authenticate_response.go
	新文件:   vendor/github.com/Shopify/sarama/sasl_handshake_request.go
	新文件:   vendor/github.com/Shopify/sarama/sasl_handshake_response.go
	新文件:   vendor/github.com/Shopify/sarama/sticky_assignor_user_data.go
	新文件:   vendor/github.com/Shopify/sarama/sync_group_request.go
	新文件:   vendor/github.com/Shopify/sarama/sync_group_response.go
	新文件:   vendor/github.com/Shopify/sarama/sync_producer.go
	新文件:   vendor/github.com/Shopify/sarama/timestamp.go
	新文件:   vendor/github.com/Shopify/sarama/txn_offset_commit_request.go
	新文件:   vendor/github.com/Shopify/sarama/txn_offset_commit_response.go
	新文件:   vendor/github.com/Shopify/sarama/utils.go
	新文件:   vendor/github.com/Shopify/sarama/zstd.go
	新文件:   vendor/github.com/eapache/go-resiliency/LICENSE
	新文件:   vendor/github.com/eapache/go-resiliency/breaker/README.md
	新文件:   vendor/github.com/eapache/go-resiliency/breaker/breaker.go
	新文件:   vendor/github.com/eapache/go-xerial-snappy/.gitignore
	新文件:   vendor/github.com/eapache/go-xerial-snappy/.travis.yml
	新文件:   vendor/github.com/eapache/go-xerial-snappy/LICENSE
	新文件:   vendor/github.com/eapache/go-xerial-snappy/README.md
	新文件:   vendor/github.com/eapache/go-xerial-snappy/fuzz.go
	新文件:   vendor/github.com/eapache/go-xerial-snappy/snappy.go
	新文件:   vendor/github.com/eapache/queue/.gitignore
	新文件:   vendor/github.com/eapache/queue/.travis.yml
	新文件:   vendor/github.com/eapache/queue/LICENSE
	新文件:   vendor/github.com/eapache/queue/README.md
	新文件:   vendor/github.com/eapache/queue/queue.go
	新文件:   vendor/github.com/golang/snappy/.gitignore
	新文件:   vendor/github.com/golang/snappy/AUTHORS
	新文件:   vendor/github.com/golang/snappy/CONTRIBUTORS
	新文件:   vendor/github.com/golang/snappy/LICENSE
	新文件:   vendor/github.com/golang/snappy/README
	新文件:   vendor/github.com/golang/snappy/decode.go
	新文件:   vendor/github.com/golang/snappy/decode_amd64.go
	新文件:   vendor/github.com/golang/snappy/decode_amd64.s
	新文件:   vendor/github.com/golang/snappy/decode_other.go
	新文件:   vendor/github.com/golang/snappy/encode.go
	新文件:   vendor/github.com/golang/snappy/encode_amd64.go
	新文件:   vendor/github.com/golang/snappy/encode_amd64.s
	新文件:   vendor/github.com/golang/snappy/encode_other.go
	新文件:   vendor/github.com/golang/snappy/go.mod
	新文件:   vendor/github.com/golang/snappy/snappy.go
	新文件:   vendor/github.com/hashicorp/go-uuid/.travis.yml
	新文件:   vendor/github.com/hashicorp/go-uuid/LICENSE
	新文件:   vendor/github.com/hashicorp/go-uuid/README.md
	新文件:   vendor/github.com/hashicorp/go-uuid/go.mod
	新文件:   vendor/github.com/hashicorp/go-uuid/uuid.go
	新文件:   vendor/github.com/jcmturner/gofork/LICENSE
	新文件:   vendor/github.com/jcmturner/gofork/encoding/asn1/README.md
	新文件:   vendor/github.com/jcmturner/gofork/encoding/asn1/asn1.go
	新文件:   vendor/github.com/jcmturner/gofork/encoding/asn1/common.go
	新文件:   vendor/github.com/jcmturner/gofork/encoding/asn1/marshal.go
	新文件:   vendor/github.com/jcmturner/gofork/x/crypto/pbkdf2/pbkdf2.go
	新文件:   vendor/github.com/klauspost/compress/LICENSE
	新文件:   vendor/github.com/klauspost/compress/fse/README.md
	新文件:   vendor/github.com/klauspost/compress/fse/bitreader.go
	新文件:   vendor/github.com/klauspost/compress/fse/bitwriter.go
	新文件:   vendor/github.com/klauspost/compress/fse/bytereader.go
	新文件:   vendor/github.com/klauspost/compress/fse/compress.go
	新文件:   vendor/github.com/klauspost/compress/fse/decompress.go
	新文件:   vendor/github.com/klauspost/compress/fse/fse.go
	新文件:   vendor/github.com/klauspost/compress/huff0/.gitignore
	新文件:   vendor/github.com/klauspost/compress/huff0/README.md
	新文件:   vendor/github.com/klauspost/compress/huff0/bitreader.go
	新文件:   vendor/github.com/klauspost/compress/huff0/bitwriter.go
	新文件:   vendor/github.com/klauspost/compress/huff0/bytereader.go
	新文件:   vendor/github.com/klauspost/compress/huff0/compress.go
	新文件:   vendor/github.com/klauspost/compress/huff0/decompress.go
	新文件:   vendor/github.com/klauspost/compress/huff0/huff0.go
	新文件:   vendor/github.com/klauspost/compress/snappy/.gitignore
	新文件:   vendor/github.com/klauspost/compress/snappy/AUTHORS
	新文件:   vendor/github.com/klauspost/compress/snappy/CONTRIBUTORS
	新文件:   vendor/github.com/klauspost/compress/snappy/LICENSE
	新文件:   vendor/github.com/klauspost/compress/snappy/README
	新文件:   vendor/github.com/klauspost/compress/snappy/decode.go
	新文件:   vendor/github.com/klauspost/compress/snappy/decode_amd64.go
	新文件:   vendor/github.com/klauspost/compress/snappy/decode_amd64.s
	新文件:   vendor/github.com/klauspost/compress/snappy/decode_other.go
	新文件:   vendor/github.com/klauspost/compress/snappy/encode.go
	新文件:   vendor/github.com/klauspost/compress/snappy/encode_amd64.go
	新文件:   vendor/github.com/klauspost/compress/snappy/encode_amd64.s
	新文件:   vendor/github.com/klauspost/compress/snappy/encode_other.go
	新文件:   vendor/github.com/klauspost/compress/snappy/runbench.cmd
	新文件:   vendor/github.com/klauspost/compress/snappy/snappy.go
	新文件:   vendor/github.com/klauspost/compress/zstd/README.md
	新文件:   vendor/github.com/klauspost/compress/zstd/bitreader.go
	新文件:   vendor/github.com/klauspost/compress/zstd/bitwriter.go
	新文件:   vendor/github.com/klauspost/compress/zstd/blockdec.go
	新文件:   vendor/github.com/klauspost/compress/zstd/blockenc.go
	新文件:   vendor/github.com/klauspost/compress/zstd/blocktype_string.go
	新文件:   vendor/github.com/klauspost/compress/zstd/bytebuf.go
	新文件:   vendor/github.com/klauspost/compress/zstd/bytereader.go
	新文件:   vendor/github.com/klauspost/compress/zstd/decoder.go
	新文件:   vendor/github.com/klauspost/compress/zstd/decoder_options.go
	新文件:   vendor/github.com/klauspost/compress/zstd/enc_dfast.go
	新文件:   vendor/github.com/klauspost/compress/zstd/enc_fast.go
	新文件:   vendor/github.com/klauspost/compress/zstd/enc_params.go
	新文件:   vendor/github.com/klauspost/compress/zstd/encoder.go
	新文件:   vendor/github.com/klauspost/compress/zstd/encoder_options.go
	新文件:   vendor/github.com/klauspost/compress/zstd/framedec.go
	新文件:   vendor/github.com/klauspost/compress/zstd/frameenc.go
	新文件:   vendor/github.com/klauspost/compress/zstd/fse_decoder.go
	新文件:   vendor/github.com/klauspost/compress/zstd/fse_encoder.go
	新文件:   vendor/github.com/klauspost/compress/zstd/fse_predefined.go
	新文件:   vendor/github.com/klauspost/compress/zstd/hash.go
	新文件:   vendor/github.com/klauspost/compress/zstd/history.go
	新文件:   vendor/github.com/klauspost/compress/zstd/internal/xxhash/LICENSE.txt
	新文件:   vendor/github.com/klauspost/compress/zstd/internal/xxhash/README.md
	新文件:   vendor/github.com/klauspost/compress/zstd/internal/xxhash/xxhash.go
	新文件:   vendor/github.com/klauspost/compress/zstd/internal/xxhash/xxhash_amd64.go
	新文件:   vendor/github.com/klauspost/compress/zstd/internal/xxhash/xxhash_amd64.s
	新文件:   vendor/github.com/klauspost/compress/zstd/internal/xxhash/xxhash_other.go
	新文件:   vendor/github.com/klauspost/compress/zstd/internal/xxhash/xxhash_safe.go
	新文件:   vendor/github.com/klauspost/compress/zstd/seqdec.go
	新文件:   vendor/github.com/klauspost/compress/zstd/seqenc.go
	新文件:   vendor/github.com/klauspost/compress/zstd/snappy.go
	新文件:   vendor/github.com/klauspost/compress/zstd/zstd.go
	新文件:   vendor/github.com/pierrec/lz4/.gitignore
	新文件:   vendor/github.com/pierrec/lz4/.travis.yml
	新文件:   vendor/github.com/pierrec/lz4/LICENSE
	新文件:   vendor/github.com/pierrec/lz4/README.md
	新文件:   vendor/github.com/pierrec/lz4/block.go
	新文件:   vendor/github.com/pierrec/lz4/debug.go
	新文件:   vendor/github.com/pierrec/lz4/debug_stub.go
	新文件:   vendor/github.com/pierrec/lz4/decode_amd64.go
	新文件:   vendor/github.com/pierrec/lz4/decode_amd64.s
	新文件:   vendor/github.com/pierrec/lz4/decode_other.go
	新文件:   vendor/github.com/pierrec/lz4/errors.go
	新文件:   vendor/github.com/pierrec/lz4/internal/xxh32/xxh32zero.go
	新文件:   vendor/github.com/pierrec/lz4/lz4.go
	新文件:   vendor/github.com/pierrec/lz4/lz4_go1.10.go
	新文件:   vendor/github.com/pierrec/lz4/lz4_notgo1.10.go
	新文件:   vendor/github.com/pierrec/lz4/reader.go
	新文件:   vendor/github.com/pierrec/lz4/writer.go
	新文件:   vendor/github.com/rcrowley/go-metrics/.gitignore
	新文件:   vendor/github.com/rcrowley/go-metrics/.travis.yml
	新文件:   vendor/github.com/rcrowley/go-metrics/LICENSE
	新文件:   vendor/github.com/rcrowley/go-metrics/README.md
	新文件:   vendor/github.com/rcrowley/go-metrics/counter.go
	新文件:   vendor/github.com/rcrowley/go-metrics/debug.go
	新文件:   vendor/github.com/rcrowley/go-metrics/ewma.go
	新文件:   vendor/github.com/rcrowley/go-metrics/gauge.go
	新文件:   vendor/github.com/rcrowley/go-metrics/gauge_float64.go
	新文件:   vendor/github.com/rcrowley/go-metrics/graphite.go
	新文件:   vendor/github.com/rcrowley/go-metrics/healthcheck.go
	新文件:   vendor/github.com/rcrowley/go-metrics/histogram.go
	新文件:   vendor/github.com/rcrowley/go-metrics/json.go
	新文件:   vendor/github.com/rcrowley/go-metrics/log.go
	新文件:   vendor/github.com/rcrowley/go-metrics/memory.md
	新文件:   vendor/github.com/rcrowley/go-metrics/meter.go
	新文件:   vendor/github.com/rcrowley/go-metrics/metrics.go
	新文件:   vendor/github.com/rcrowley/go-metrics/opentsdb.go
	新文件:   vendor/github.com/rcrowley/go-metrics/registry.go
	新文件:   vendor/github.com/rcrowley/go-metrics/runtime.go
	新文件:   vendor/github.com/rcrowley/go-metrics/runtime_cgo.go
	新文件:   vendor/github.com/rcrowley/go-metrics/runtime_gccpufraction.go
	新文件:   vendor/github.com/rcrowley/go-metrics/runtime_no_cgo.go
	新文件:   vendor/github.com/rcrowley/go-metrics/runtime_no_gccpufraction.go
	新文件:   vendor/github.com/rcrowley/go-metrics/sample.go
	新文件:   vendor/github.com/rcrowley/go-metrics/syslog.go
	新文件:   vendor/github.com/rcrowley/go-metrics/timer.go
	新文件:   vendor/github.com/rcrowley/go-metrics/validate.sh
	新文件:   vendor/github.com/rcrowley/go-metrics/writer.go
	删除:     vendor/github.com/shirou/gopsutil/mem/types_openbsd.go
	删除:     vendor/github.com/shirou/gopsutil/process/types_darwin.go
	删除:     vendor/github.com/shirou/gopsutil/process/types_freebsd.go
	删除:     vendor/github.com/shirou/gopsutil/process/types_openbsd.go
	删除:     vendor/github.com/ugorji/go/codec/xml.go
	新文件:   vendor/golang.org/x/crypto/AUTHORS
	新文件:   vendor/golang.org/x/crypto/CONTRIBUTORS
	新文件:   vendor/golang.org/x/crypto/LICENSE
	新文件:   vendor/golang.org/x/crypto/PATENTS
	新文件:   vendor/golang.org/x/crypto/md4/md4.go
	新文件:   vendor/golang.org/x/crypto/md4/md4block.go
	新文件:   vendor/golang.org/x/crypto/pbkdf2/pbkdf2.go
	新文件:   vendor/golang.org/x/net/AUTHORS
	新文件:   vendor/golang.org/x/net/CONTRIBUTORS
	新文件:   vendor/golang.org/x/net/LICENSE
	新文件:   vendor/golang.org/x/net/PATENTS
	新文件:   vendor/golang.org/x/net/internal/socks/client.go
	新文件:   vendor/golang.org/x/net/internal/socks/socks.go
	新文件:   vendor/golang.org/x/net/proxy/dial.go
	新文件:   vendor/golang.org/x/net/proxy/direct.go
	新文件:   vendor/golang.org/x/net/proxy/per_host.go
	新文件:   vendor/golang.org/x/net/proxy/proxy.go
	新文件:   vendor/golang.org/x/net/proxy/socks5.go
	删除:     vendor/golang.org/x/sys/unix/mkasm_darwin.go
	删除:     vendor/golang.org/x/sys/unix/mkpost.go
	删除:     vendor/golang.org/x/sys/unix/mksyscall.go
	删除:     vendor/golang.org/x/sys/unix/mksyscall_aix_ppc.go
	删除:     vendor/golang.org/x/sys/unix/mksyscall_aix_ppc64.go
	删除:     vendor/golang.org/x/sys/unix/mksyscall_solaris.go
	删除:     vendor/golang.org/x/sys/unix/mksysctl_openbsd.go
	删除:     vendor/golang.org/x/sys/unix/mksysnum.go
	删除:     vendor/golang.org/x/sys/unix/types_aix.go
	删除:     vendor/golang.org/x/sys/unix/types_darwin.go
	删除:     vendor/golang.org/x/sys/unix/types_dragonfly.go
	删除:     vendor/golang.org/x/sys/unix/types_freebsd.go
	删除:     vendor/golang.org/x/sys/unix/types_netbsd.go
	删除:     vendor/golang.org/x/sys/unix/types_openbsd.go
	删除:     vendor/golang.org/x/sys/unix/types_solaris.go
	删除:     vendor/golang.org/x/text/unicode/norm/maketables.go
	删除:     vendor/golang.org/x/text/unicode/norm/triegen.go
	删除:     vendor/golang.org/x/tools/go/gcexportdata/main.go
	新文件:   vendor/gopkg.in/jcmturner/aescts.v1/.gitignore
	新文件:   vendor/gopkg.in/jcmturner/aescts.v1/LICENSE
	新文件:   vendor/gopkg.in/jcmturner/aescts.v1/README.md
	新文件:   vendor/gopkg.in/jcmturner/aescts.v1/aescts.go
	新文件:   vendor/gopkg.in/jcmturner/dnsutils.v1/.gitignore
	新文件:   vendor/gopkg.in/jcmturner/dnsutils.v1/.travis.yml
	新文件:   vendor/gopkg.in/jcmturner/dnsutils.v1/LICENSE
	新文件:   vendor/gopkg.in/jcmturner/dnsutils.v1/srv.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/LICENSE
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/asn1tools/tools.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/client/ASExchange.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/client/TGSExchange.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/client/cache.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/client/client.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/client/network.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/client/passwd.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/client/session.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/client/settings.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/config/error.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/config/hosts.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/config/krb5conf.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/credentials/ccache.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/credentials/credentials.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/crypto/aes128-cts-hmac-sha1-96.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/crypto/aes128-cts-hmac-sha256-128.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/crypto/aes256-cts-hmac-sha1-96.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/crypto/aes256-cts-hmac-sha384-192.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/crypto/common/common.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/crypto/crypto.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/crypto/des3-cbc-sha1-kd.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/crypto/etype/etype.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/crypto/rc4-hmac.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/crypto/rfc3961/encryption.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/crypto/rfc3961/keyDerivation.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/crypto/rfc3961/nfold.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/crypto/rfc3962/encryption.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/crypto/rfc3962/keyDerivation.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/crypto/rfc4757/checksum.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/crypto/rfc4757/encryption.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/crypto/rfc4757/keyDerivation.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/crypto/rfc4757/msgtype.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/crypto/rfc8009/encryption.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/crypto/rfc8009/keyDerivation.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/gssapi/MICToken.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/gssapi/README.md
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/gssapi/contextFlags.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/gssapi/gssapi.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/gssapi/wrapToken.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/iana/addrtype/constants.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/iana/adtype/constants.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/iana/asnAppTag/constants.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/iana/chksumtype/constants.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/iana/constants.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/iana/errorcode/constants.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/iana/etypeID/constants.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/iana/flags/constants.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/iana/keyusage/constants.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/iana/msgtype/constants.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/iana/nametype/constants.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/iana/patype/constants.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/kadmin/changepasswddata.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/kadmin/message.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/kadmin/passwd.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/keytab/keytab.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/krberror/error.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/messages/APRep.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/messages/APReq.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/messages/KDCRep.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/messages/KDCReq.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/messages/KRBCred.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/messages/KRBError.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/messages/KRBPriv.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/messages/KRBSafe.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/messages/Ticket.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/pac/client_claims.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/pac/client_info.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/pac/credentials_info.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/pac/device_claims.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/pac/device_info.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/pac/kerb_validation_info.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/pac/pac_type.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/pac/s4u_delegation_info.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/pac/signature_data.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/pac/supplemental_cred.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/pac/upn_dns_info.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/types/Authenticator.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/types/AuthorizationData.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/types/Cryptosystem.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/types/HostAddress.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/types/KerberosFlags.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/types/PAData.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/types/PrincipalName.go
	新文件:   vendor/gopkg.in/jcmturner/gokrb5.v7/types/TypedData.go
	新文件:   vendor/gopkg.in/jcmturner/rpc.v1/LICENSE
	新文件:   vendor/gopkg.in/jcmturner/rpc.v1/mstypes/claims.go
	新文件:   vendor/gopkg.in/jcmturner/rpc.v1/mstypes/common.go
	新文件:   vendor/gopkg.in/jcmturner/rpc.v1/mstypes/filetime.go
	新文件:   vendor/gopkg.in/jcmturner/rpc.v1/mstypes/group_membership.go
	新文件:   vendor/gopkg.in/jcmturner/rpc.v1/mstypes/kerb_sid_and_attributes.go
	新文件:   vendor/gopkg.in/jcmturner/rpc.v1/mstypes/reader.go
	新文件:   vendor/gopkg.in/jcmturner/rpc.v1/mstypes/rpc_unicode_string.go
	新文件:   vendor/gopkg.in/jcmturner/rpc.v1/mstypes/sid.go
	新文件:   vendor/gopkg.in/jcmturner/rpc.v1/mstypes/user_session_key.go
	新文件:   vendor/gopkg.in/jcmturner/rpc.v1/ndr/arrays.go
	新文件:   vendor/gopkg.in/jcmturner/rpc.v1/ndr/decoder.go
	新文件:   vendor/gopkg.in/jcmturner/rpc.v1/ndr/error.go
	新文件:   vendor/gopkg.in/jcmturner/rpc.v1/ndr/header.go
	新文件:   vendor/gopkg.in/jcmturner/rpc.v1/ndr/pipe.go
	新文件:   vendor/gopkg.in/jcmturner/rpc.v1/ndr/primitives.go
	新文件:   vendor/gopkg.in/jcmturner/rpc.v1/ndr/rawbytes.go
	新文件:   vendor/gopkg.in/jcmturner/rpc.v1/ndr/strings.go
	新文件:   vendor/gopkg.in/jcmturner/rpc.v1/ndr/tags.go
	新文件:   vendor/gopkg.in/jcmturner/rpc.v1/ndr/union.go
	修改:     vendor/gopkg.in/yaml.v2/.travis.yml
	修改:     vendor/gopkg.in/yaml.v2/decode.go
	修改:     vendor/gopkg.in/yaml.v2/scannerc.go
	修改:     vendor/gopkg.in/yaml.v2/yaml.go
	修改:     vendor/gopkg.in/yaml.v2/yamlh.go
	修改:     vendor/modules.txt

* Update sender.go

* Update sender.go

* Update kafka.go

* Update kafka.go

Co-authored-by: 马涛 <matao@staff.sina.com.cn>
2020-06-26 12:07:44 +08:00
Ulric Qin 7d5d791376 support SUBTRACT 2020-06-20 22:59:47 +08:00
Ulric Qin 4b3f11418e code refactor 2020-06-20 22:17:38 +08:00
Ulric Qin 0b4d1639c6 support type: SUBTRACT 2020-06-20 22:08:10 +08:00
dongdong 018d19857d
Fix stddev function (#224)
* Correct stddev function usage

* Simplify code

* Fix CI error
2020-06-20 13:56:52 +08:00
dongdong b45a968a9a
Add stddev funtion for judge (#214) 2020-06-16 14:26:00 +08:00
UlricQin 1a675ed40e refactor port listening checker 2020-06-11 17:31:46 +08:00
matao3754 a1c47b7ca3
添加endpoint屏蔽,并且修改页面对应必填项,去除mcache不必要的锁
* 修改:     go.mod
	修改:     go.sum
	重命名:   pub/index-c6eeb66b35b8fd41c6bf.css -> pub/index-835a6df5e01917561f12.css
	新文件:   pub/index-835a6df5e01917561f12.js
	新文件:   pub/index-835a6df5e01917561f12.js.map
	删除:     pub/index-c6eeb66b35b8fd41c6bf.js
	删除:     pub/index-c6eeb66b35b8fd41c6bf.js.map
	修改:     pub/index.html
	修改:     src/model/user.go
	修改:     src/modules/monapi/cron/mask.go
	修改:     src/modules/monapi/mcache/mask.go
	修改:     web/package-lock.json
	修改:     web/src/pages/Monitor/Silence/CustomForm.tsx

* Update mask.go

Co-authored-by: 马涛 <matao@staff.sina.com.cn>
2020-06-07 09:36:58 +08:00
710leo 3eca4b3dac Refactor: remove tsdb xxhash key 2020-06-01 20:48:55 +08:00
UlricQin 61fc79ff47 add snmp funcs 2020-06-01 16:36:12 +08:00
UlricQin 7dfefedf77 fix time location parse 2020-06-01 16:26:41 +08:00
yanli eaf1d1be6d
Add log time format 02 / 01 / 2006:15:04:05 (#164)
* Add log time format 02 / 01 / 2006:15:04:05

* Server Add log time format 02 / 01 / 2006:15:04:05
2020-06-01 09:53:36 +08:00
710leo 6b646e3510 Merge branch 'master' of github.com:didi/nightingale 2020-05-29 16:46:49 +08:00
710leo a727a7f377 Change plugin collect env format 2020-05-29 16:41:33 +08:00
UlricQin a366f14434 upgrade 2.4.1: bugfix: default token 2020-05-29 16:02:00 +08:00
UlricQin 834669bf36 upgrade 2.4.0: support grafana 2020-05-28 20:28:48 +08:00
Ulric Qin 3c1c43ae9c monapi support grafana 2020-05-28 18:42:42 +08:00
710leo 0d2860dd8e Plugin collect support stdin and env 2020-05-27 21:05:38 +08:00
710leo ea25842f9d Optimize alert function 2020-05-27 21:01:08 +08:00
sven 4b21874251
bug fix nodata (#157)
* bug fix nodata
2020-05-26 12:33:39 +08:00
710leo 0d5ca9306e Fix rrd update when value less than 1 2020-05-24 17:40:22 +08:00
UlricQin e74db54485 node post api support chinese 2020-05-22 13:27:07 +08:00
710leo 2c45f9585d Fix false alert when alert duration less than metric step 2020-05-21 23:56:17 +08:00
zengwh 1accfdf9a8
support collect process mem util, mem used and cpu util metrics (#152)
* support send to influxdb

* fix influxdb config var

* fix name error

* fix remove unused variable

* support collect proc mem util, mem used and cpu util metrics

* opt calc timestamp

* opt code
2020-05-18 19:25:54 +08:00
zengwh 7fa09f19de
Transfer backend support opentsdb (#149)
* support send to opentsdb

* fix issue
2020-05-16 14:32:32 +08:00
gaojiasheng 5207b2fcba delete useless lock 2020-05-16 00:14:42 +08:00
710leo e9e399de85 Update vendor 2020-05-15 17:30:07 +08:00
710leo 99bd108901 Plugin collect support different params 2020-05-15 17:23:00 +08:00
zengwh 973f94f510
support send to influxdb (#146)
* support send to influxdb

* fix influxdb config var

* fix name error

* fix remove unused variable
2020-05-15 16:41:54 +08:00
710leo fc4fa979af Merge branch 'master' of github.com:didi/nightingale 2020-05-14 20:38:22 +08:00
710leo f004543ce0 Optimize nodata alert value & fix plugin collect cycle not work 2020-05-14 20:38:04 +08:00
UlricQin 29f7044695 refactor error message 2020-05-13 18:17:30 +08:00
710leo fbb11de178 Fix parse port collect file 2020-05-13 16:09:44 +08:00
710leo 71f9aa0618 Merge branch 'master' of github.com:didi/nightingale 2020-05-12 20:07:24 +08:00
710leo a6de4d35a9 Support operating plugin collection by web 2020-05-12 20:07:11 +08:00
UlricQin 180ee94c55 code refactor 2020-05-12 12:17:06 +08:00
UlricQin 857b905934 add debug log 2020-05-12 11:40:30 +08:00
陈键冬 9264aa6293
Version management (#141)
* Provide a better version management approach

* Fix typo
2020-05-11 20:23:53 +08:00
Ulric Qin 6e10ab4b55 mount ignore refactor 2020-05-10 19:18:46 +08:00
Ulric Qin 04e6f36cac ignore invalid metric 2020-05-10 17:53:36 +08:00
Ulric Qin 6907ffa56c enhance endpoint query 2020-05-09 23:44:55 +08:00
chenjiandongx 275ecdeacc Chore 2020-05-09 21:56:32 +08:00
chenjiandongx db0ab16315 Remove unnessary zero length 2020-05-09 21:51:23 +08:00
chenjiandongx c1f38e5ca4 Make variable name more meaningful 2020-05-09 21:44:18 +08:00
710leo 7d774562c7 Add delete index by endpoint api 2020-05-07 22:16:35 +08:00
陈键冬 a45ca89ecb
No 'this' anymore (#135) 2020-05-07 21:42:39 +08:00
Ulric Qin f609a84c18 display children node events 2020-05-06 22:09:32 +08:00
710leo afb80933d0 fix: counter type check 2020-04-30 17:51:45 +08:00
710leo 9c129acdb4 refactor: standardized code 2020-04-28 22:42:15 +08:00
710leo 7f1a947226 refactor: add timestamp check 2020-04-28 19:26:07 +08:00
710leo f648a6c8c2 refactor: change some log print 2020-04-27 23:36:35 +08:00
Ulric Qin 10cf6d94df bugfix: do not update alias if alias is blank whenendpoint import 2020-04-25 17:32:09 +08:00
710leo d9b89f24b5 refactor: sort event tags & change extra 2020-04-23 18:30:56 +08:00
710leo 12d4024710 fix: clude api get redundant tags 2020-04-23 10:35:23 +08:00
710leo 9cb07f1252 fix: nodata strategy does not work when index or tsdb down 2020-04-22 14:54:59 +08:00
710leo 2c285e63c1 optimize nodata 2020-04-21 22:41:43 +08:00
710leo 256dceb624 fix: recovery duration 2020-04-20 22:46:05 +08:00
710leo 45fe14b439 get plugin collect from monapi 2020-04-20 19:07:38 +08:00
陈键冬 747c18a076
Fix logger format bug (#99) 2020-04-19 21:05:33 +08:00
penggy 8790094b15
change collector readme, fix url path (#98)
* change collector readme, fix url path

* add error return

* fix word mistake

* optimization code
2020-04-19 00:11:16 +08:00
陈键冬 e32b8e44d1
Reuse the pool module (#97)
* Reuse the pool module

* Remove useless init function

* Rename variable
2020-04-18 14:19:32 +08:00
陈键冬 c14a7a170a
Try to fix broken tests (#89)
* Try to fix broken tests

* Remove uesless function
2020-04-17 18:52:32 +08:00
陈键冬 2d8ffb43e6
Standardized transfer code (#94)
* Standardized transfer code
2020-04-17 16:55:48 +08:00
710leo b50b85f367 Merge branch 'master' of github.com:didi/nightingale 2020-04-16 15:38:51 +08:00
710leo 0b2d4d6d19 fix: concurrent map 2020-04-16 15:35:33 +08:00
sven a3d956f780
nodata不显示judgeItem tags (#90)
Co-authored-by: litianshun <litianshun@meicai.cn>
2020-04-15 21:03:20 +08:00
710leo 56f8241ea5 fix index slice append 2020-04-14 16:02:08 +08:00
710leo dfebb86a76 init rpc clients before collect 2020-04-13 21:27:17 +08:00
710leo daa8ba4f48 Merge branch 'master' of github.com:didi/nightingale 2020-04-13 19:29:07 +08:00
710leo 4b7262f18d delete strategy which does not found nid 2020-04-13 19:27:24 +08:00
Feng_Qi 12cadb218d
fix port check and push debug log (#86)
* fix port check and push debug log

1:如果服务没有监听在 0.0.0.0 上,而是监听在特定地址上的话,在 127.0.0.1 上无法检测到端口。修改为如果 127.0.0.1 检测不到话,在 identity 的地址上再检测一次。
2. http push 部分缺乏 debug 日志,把 debug log 改到 push 里面以补全。

* Update cron.go
2020-04-13 19:10:04 +08:00
710leo 99ca7fb862 feat: event support extra field 2020-04-13 17:48:24 +08:00
陈键冬 0604c690d4
standardizing code (#81)
* Review index module

* Update debug info

* Update according to the reivew feedback

* Remove newline

* Micro update

* Micro fix

* Fix grammer error
2020-04-13 13:09:42 +08:00
710leo 69702e5fd6 log support more time format 2020-04-12 15:50:21 +08:00
陈键冬 6e17b9a2f1
Details fixed about model (#80)
* Details fixed

* Fix typo

* Clean code
2020-04-12 10:04:37 +08:00
陈键冬 eedab9d8c2
Optimize dataobj module (#79) 2020-04-11 18:41:50 +08:00
UlricQin 80a8c6900a fix conn shutdown when transfer restart 2020-04-10 16:53:12 +08:00
UlricQin 0951f1f1af Merge branch 'master' of github.com:didi/nightingale 2020-04-10 15:48:54 +08:00
Ulric Qin d4b24ed573 fix rpc conn close 2020-04-09 00:31:48 +08:00
Ulric Qin 761c0fae25 code refactor 2020-04-09 00:21:28 +08:00
Ulric Qin 8f40b87bec collector call transfer rpc use long connection 2020-04-09 00:14:22 +08:00
UlricQin bddef26a22 Merge branch 'master' of github.com:didi/nightingale 2020-04-08 10:39:31 +08:00
UlricQin 92c0ee99d6 bugfix: genMetric 2020-04-07 18:55:23 +08:00
chenjiandongx 9f158992fc Unify the receiver name 2020-04-06 21:07:13 +08:00
chenjiandongx 03540ac19a Code polishing 2020-04-06 21:04:02 +08:00
chenjiandongx 1c066df6ac Fetching data and packaging results can be handled at the same time to imporve performance 2020-04-06 20:48:10 +08:00
陈键冬 73ed8a66d3
Ploish some details (#63)
* Ploish some details

* Rename linkedlist file and make it looks more like golang style, not Java
2020-04-06 16:35:51 +08:00
710leo 59f2bb003b Merge branch 'master' of github.com:didi/nightingale 2020-04-03 15:24:00 +08:00
710leo d39b4af421 fix: and conditions alert recovery 2020-04-03 15:22:34 +08:00
UlricQin 58ccd2153e fix format char 2020-04-02 17:34:51 +08:00
UlricQin 246aaa9bd7 add some comment 2020-04-02 16:12:23 +08:00
710leo 428ce391f9 fix: transfer get stra 2020-04-01 16:14:57 +08:00
710leo 5e7bfed6af fix: rebuild judge pool 2020-03-30 17:52:39 +08:00
710leo 5931481c03 judge use lpush 2020-03-29 20:01:33 +08:00
710leo 2c5836f8c8 fix: counter type compute func 2020-03-29 10:59:07 +08:00
Ulric Qin bf2a4b9ef5 fix counter type compute func 2020-03-29 08:08:43 +08:00
710leo 3d8d6c6886 refactor: clean history data 2020-03-29 00:15:22 +08:00
710leo f3406af763 feat: be compatible with counter type 2020-03-29 00:09:04 +08:00
Ulric Qin cb64d2cb98 ignore event xorm field 2020-03-28 18:50:52 +08:00
Ulric Qin 6b87069f8e alert upgrade logic refactor 2020-03-28 18:39:29 +08:00
710leo 18e7201122 Merge branch 'master' of github.com:didi/nightingale 2020-03-27 15:04:58 +08:00
710leo 2f86831c60 refactor: change transfer stats metric 2020-03-27 14:58:36 +08:00
Ulric Qin 484480348b use ShouldBindJSON not ShouldBind 2020-03-27 14:18:40 +08:00
Ulric Qin 14d1dec45d use ShouldBindJSON not ShouldBind when receive data 2020-03-27 14:17:41 +08:00
710leo aac5fd1a93 fix: collect proc by file 2020-03-27 14:10:52 +08:00
ulricqin 53f1c1e64d
Merge pull request #38 from soolaugust/remove-deprecated
os.SEEK_* is deprecated, use io.Seek* instead
2020-03-27 11:37:39 +08:00
soolaugust bf7447d32a os.SEEK_* is deprecated, use io.Seek* instead 2020-03-27 09:14:20 +08:00
soolaugust 7942662d79 move TestPatternParse into stra package && remove incorrect test file 2020-03-26 20:38:54 +08:00
710leo 6d42824c2d refactor: change plugin workdir 2020-03-26 14:59:08 +08:00
710leo 360aa94f66 fix: collector run plugin 2020-03-26 12:31:49 +08:00
Ulric Qin 72a333fad9 fix typo 2020-03-25 19:12:01 +08:00
Ulric Qin 9cd97e4f5c code refactor 2020-03-25 17:55:31 +08:00
ulricqin fa7ef01a47
Merge pull request #26 from wulorn/addRedisDB
增加redis配置项,可通过配置文件配置指定的redis库
2020-03-25 17:45:15 +08:00
710leo c54949cb17 Merge branch 'master' of github.com:didi/nightingale 2020-03-25 17:11:55 +08:00
710leo a047f19ba3 fix: aggregate data by group key 2020-03-25 17:08:17 +08:00
wulorn 76fd7b38df 增加redis配置项,可通过配置文件配置指定的redis库 2020-03-25 16:36:27 +08:00
litianshun 1345ebefd4 clean 2020-03-24 22:46:44 +08:00
710leo fb43b03b2c refactor: change collect config path 2020-03-24 20:41:21 +08:00
Ulric Qin 19c9e4eb36 无论哪种状态都回调 2020-03-24 17:09:09 +08:00
710leo 4e5f7a56da fix: tagkv api get redundant values 2020-03-24 11:15:00 +08:00
710leo 408b6494d8 refactor: stats use address.yml 2020-03-23 18:06:44 +08:00
710leo 2b30d8e0bd refactor: stats default use address.yml 2020-03-23 15:32:23 +08:00
710leo 450f94ff32 feat: support comparison graph 2020-03-23 14:14:11 +08:00
Feng_Qi a5be668359 ldap login support anonymous search mode 2020-03-23 00:04:15 +08:00
Feng_Qi 7c86e8f58e ldap login support auto cover attributes
1. support cover attribute by ldap
2. add ldap auto regist config
2020-03-22 23:43:06 +08:00
710leo 3092b4b65d fix: recovery alert value is null & refactor stats 2020-03-19 17:20:29 +08:00
710leo 5df96d41a7 refactor: add some metrics 2020-03-19 12:45:33 +08:00
710leo e32178371d refactor: change validate reserved words 2020-03-15 12:06:09 +08:00
Ulric Qin 0ba6c698d1 print endpoint in stdout 2020-03-14 23:08:31 +08:00
Ulric Qin ceaa9f58af rra refactor 2020-03-11 23:19:53 +08:00
710leo 5f00489392 init project 2020-03-11 18:25:20 +08:00