Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

性能监控 #37

Open
hailiang-wang opened this issue Apr 15, 2016 · 3 comments
Open

性能监控 #37

hailiang-wang opened this issue Apr 15, 2016 · 3 comments
Milestone

Comments

@hailiang-wang
Copy link
Member

description

监控和报警

1)服务器
2)数据库
3)backend:nodejs app
4)frontend:前端

solution

OneAPM
https://user.oneapm.com/pages/v2/home

@hailiang-wang hailiang-wang added this to the Dito milestone Apr 15, 2016
@hailiang-wang
Copy link
Member Author

Ci

Your Agent is running and functioning properly. It will continue to run in the
background and submit metrics to OneAPM.

If you ever want to stop the Agent, run:

    sudo /etc/init.d/oneapm-ci-agent stop

And to run it again run:

    sudo /etc/init.d/oneapm-ci-agent start

hailiang-wang added a commit that referenced this issue Apr 22, 2016
@hailiang-wang
Copy link
Member Author

Ai

Config

$ cat config.json
{
    "site_title": "Rockq",
    "is_oneapm": "false",
    ....

@hailiang-wang
Copy link
Member Author

hailiang-wang commented Apr 22, 2016

Monitor MongoDB

    mongo
    -----
      - instance #0 [ERROR]: "command SON([('serverStatus', 1), ('tcmalloc', False)]) on namespace rockqp
rodb.$cmd failed: not authorized on rockqprodb to execute command { serverStatus: 1, tcmalloc: false }"
      - Collected 0 metrics, 0 events & 2 service checks
      - Dependencies:
          - pymongo: 3.2

http://askubuntu.com/questions/672367/mongstat-failed-not-authorized-on-admin-to-execute-command-serverstatus-1-r

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant