标签: monitoring

测量和监控Node.JS服务器性能

我是Node.JS的新手,已经谷歌搜索了aswers,但有很多方法可以做到这一点.你有什么数学知道什么时候我需要扩展我的Node.JS服务器?您使用什么工具来监控服务器性能和错误跟踪?

谢谢!

performance maintenance monitoring node.js

20
推荐指数
1
解决办法
2万
查看次数

显示进入Oracle数据库的所有查询

我需要查看所有查询到数据库.怎么做?我无法从Google搜索中获得正确的结果.

oracle monitoring

19
推荐指数
3
解决办法
3万
查看次数

SQL Server活动监视器显示所有查询

我正在使用SQL Server 2005,我想知道是否有可能观察发送到SQL服务器的每个查询?

SQL Server Management Studio有一个名为Activity Monitor的内置工具,它在"最近昂贵的查询窗格"中提供了几乎我要搜索的内容.

此窗格显示有关在过去30秒内在实例上运行的最昂贵查询的信息.

对于所有最近的查询我都需要这个,而不仅仅是昂贵的...

谁能帮我?

命名工具,或者给我一个提示要搜索的内容......

sql sql-server monitoring

19
推荐指数
2
解决办法
4万
查看次数

设置Jenkins监视外部作业

我阅读了Jenkins wiki的一部分,内容涉及设置一个由Jenkins实例监控的远程作业.但是,文档很混乱,因为它没有告诉我在Jenkins机器或远程机器(执行该工作的机器)上配置什么.

此外,文档提到了可以直接触发的Java命令以及需要servlet容器的其他命令.我是否必须在远程计算机上安装servlet容器?

也许它就在那里,但对我而言,它就像两个文件的混合.你能澄清一下:

  • 我需要在远程计算机上做什么?
  • 我需要在Jenkins机器上做什么?

谢谢.

monitoring jenkins

19
推荐指数
2
解决办法
2万
查看次数

增加 Prometheus 存储保留

您好,我的 AWS 实例上安装了 Prometheus 服务器,但数据在 15 天后自动删除。我需要一年或几个月的数据,我的 prometheus 配置有什么需要改变的吗?或者我是否需要像 Thanos 这样的扩展程序,我是 Prometheus 的新手,所以请轻松回答

monitoring prometheus

19
推荐指数
4
解决办法
2万
查看次数

如何监视SQL Server 2005上执行的sql语句

在我的项目中,针对SQL Server执行的SQL语句由于某种未知原因而失败.一些代码已经在生产中使用,因此调试它并不是一件容易的事.因此,我需要一种方法来在数据库中查看使用的SQL语句,因为语句是在项目运行时生成的,并且在满足某些条件时可能存在缺陷.

因此,我考虑过监控收到的陈述并检查自己是否有任何缺陷的可能性.

数据库在SQL Server 2005上运行,我使用SQL Server management studio express作为操作数据库的主要工具.所以我的问题是,最好的方法是什么?

sql sql-server monitoring sql-server-2005

18
推荐指数
1
解决办法
3万
查看次数

用于检查URL状态的PowerShell脚本

与此问题类似,我试图监控一组网站链接是否已启动并正在运行或未响应.我在Internet上找到了相同的PowerShell脚本.

但是,我需要检查更具体的链接,而不是直接的网站链接,例如:

http://mypage.global/Chemical/

http://maypage2:9080/portal/site/hotpot/
Run Code Online (Sandbox Code Playgroud)

当我试图检查这些链接的状态时,我得到以下输出:

URL    StatusCode    StatusDescription    ResponseLength    TimeTaken
http://mypage.global/Chemical/    0
http://maypage2:9080/portal/site/hotpot/    0
Run Code Online (Sandbox Code Playgroud)

以上链接要求我连接到VPN,但我可以从浏览器访问这些链接.

产量Invoke-WebRequest -Uri https://stackoverflow.com/questions/20259251/powershell-script-to-check-the-status-of-a-url:

PS C:\Users\682126> Invoke-WebRequest -Uri https://stackoverflow.com/questions/20259251/powershell-script-to-check-the-status-of-a-url

The term 'Invoke-WebRequest' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

At line:1 char:18
+ Invoke-WebRequest <<<<  -Uri https://stackoverflow.com/questions/20259251/powershell-script-to-check-the-status-of-a-url > tmp.txt
    + CategoryInfo          : ObjectNotFound: (Invoke-WebRequest:String) …
Run Code Online (Sandbox Code Playgroud)

powershell monitoring web-services hyperlink

18
推荐指数
6
解决办法
12万
查看次数

使用visualvm和JMX进行远程监控

我想用jvisualvm(或jconsole)监视远程运行的java(spring boot)应用程序.在本地运行时,我可以在jvisualvm和jconsole中看到托管bean.远程运行时我无法连接.我尝试了几个不同的java进程(例如使用spring xd).在SO和Google上寻找答案并没有帮助.

这些是我的JAVA_OPTS(在远程主机上):

$ echo $JAVA_OPTS
-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9010 -Dcom.sun.management.jmxremote.local.only=false -Dcom.sun.management.jmxremote.authenticate=false -Djava.rmi.server.hostname=192.168.59.99
Run Code Online (Sandbox Code Playgroud)

然后我按如下方式启动程序(这是针对spring xd,但我遇到了与其他java程序相同的问题).

$ bin/xd/xd-singlenode
Run Code Online (Sandbox Code Playgroud)

服务器进程似乎选择了以下选项:

$ ps -ef | grep single
vagrant  22938 19917 99 06:38 pts/2    00:00:03 /usr/lib/jvm/java-8- oracle/jre/bin/java -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9010 -Dcom.sun.management.jmxremote.local.only=false -Dcom.sun.management.jmxremote.authenticate=false -Djava.rmi.server.hostname=192.168.59.99 -Dspring.application.name=admin -Dlogging.config=file:/home/vagrant/spring-xd-1.1.0.RELEASE/xd/config///xd-singlenode-logger.properties -Dxd.home=/home/vagrant/spring-xd-1.1.0.RELEASE/xd -Dspring.config.location=file:/home/vagrant/spring-xd-1.1.0.RELEASE/xd/config// -Dxd.config.home=file:/home/vagrant/spring-xd-1.1.0.RELEASE/xd/config// -Dspring.config.name=servers,application -Dxd.module.config.location=file:/home/vagrant/spring-xd-1.1.0.RELEASE/xd/config//modules/ -Dxd.module.config.name=modules -classpath (...)
Run Code Online (Sandbox Code Playgroud)

远程主机(ubuntu linux vm)上的java版本是:

$ java -version
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)
Run Code Online (Sandbox Code Playgroud)

本地计算机(Mac OS)上的Java版本略有不同:

$ java -version    
java version "1.8.0_40"
Java(TM) …
Run Code Online (Sandbox Code Playgroud)

java monitoring jmx spring-boot

18
推荐指数
2
解决办法
3万
查看次数

Grafana Loki 特定日志消息总数

我正在使用 Grafana Loki,我需要计算特定时间间隔内特定日志消息的总数。例如,我需要12:00:00到14:00:00期间日志消息“some-text”的总数。我刚刚找到了以下方法来计算最后一分钟的出现次数,例如:count_over_time({container="some-containter"} |= "some-text")[1m],但我没有找到任何方法来查询特定的时间间隔。

如果这是可能的并且有人可以提供帮助,我将非常高兴。

logging monitoring grafana grafana-loki logql

18
推荐指数
1
解决办法
3万
查看次数

衡量客户端页面加载时间的最佳方法是什么?

我希望监控我们网站的最终用户体验,并将其与已经记录在服务器端的计时信息相关联.我的假设是,这需要javascript在请求开始时(window.onbeforeunload)和加载结束时(window.onload)捕获时间戳.基本上这 - " 测量Web应用程序响应时间:与客户会面 "

  1. 有更好的方法吗?
  2. 我应该期待什么样的性能损失(数量级)?
  3. 结果有多好?

javascript performance monitoring timing client-side

17
推荐指数
3
解决办法
2万
查看次数