monitoring

Graphite: Help me interpret the whisper-info.py output

大兔子大兔子 提交于 2019-12-04 11:20:28
I have been trying to make sense out of the whisper-info.py output and it seems a little cryptic to me. Currently this is my setup: storage-schema.conf [carbon] pattern = ^carbon\. retentions = 60:90d [stats] pattern = ^stats.* retentions = 30s:6h,1min:30d,10min:360d,30min:720d,1h:1825d,1d:1825d [everything_else] pattern = .* retentions = 30s:6h,1min:30d,10min:360d,30min:720d,1h:1825d,1d:1825d storage-aggregation.conf [min] pattern = \.lower$ xFilesFactor = 0.1 aggregationMethod = min [max] pattern = \.upper(_\d+)?$ xFilesFactor = 0.1 aggregationMethod = max [sum] pattern = \.sum$ xFilesFactor

Spring Boot production monitoring

五迷三道 提交于 2019-12-04 10:52:11
Spring Boot Actuator exposes a lot of metrics and information of the deployed container. However, production operations guys probably don't want to stare at pure JSON objects on their browser :) What would be good "standard" tools for monitoring this in production? This would include graphs, triggers for alerts, etc. The spring-boot-admin project is also a great monitoring tool that your production support guys may be interested in. It doesn't process and graph the metrics at all like graphite+grafana, but it is a great simple tool to setup and use to see the state of all of your running

How to visualize the behavior of many concurrent multi-stage processes?

有些话、适合烂在心里 提交于 2019-12-04 09:36:06
问题 Suppose I've got a ton (a continuous stream) of requests to process, and each request has several stages. For example: "connecting to data source", "reading data from data source", "validating data", "processing data", "connecting to data sink", "writing result to data sink". Which visualization methods or even tools fit well to visualize the behavior of such a system? I'd like to be able to see which stages are taking a long time, and how the stages of different requests are aligned with

WCF service health monitoring

落爺英雄遲暮 提交于 2019-12-04 08:53:26
问题 I just implemented a WCF service and I am currently looking at service monitoring options. Our server team that currently hosts only java services wants us to have instances running all the time, so it can gather data in that instance during its lifetime and they said they will use one of our operations with webmon to get statistical information. But we are using per call and I dont think that will work under this architecture. I am wondering if there is a way to get the statistics of how an

How do I ping from Flex - AIR?

雨燕双飞 提交于 2019-12-04 08:12:09
I'm bored cause my development server is down and I'm running the command prompt to ping the server indefinitely so that I'll see when they stop timing out and know that I can work again. In the meantime I wanted to make an Air app that will do this for me, so I can have it chirp or alarm or do something when it starts to be able to connect to the server. So I need to start with having AIR do the ping, does anyone know how to do this? I can't find any help on it. I can't use the HTTPService because whatever it is that is broken (think it's the VPN), our dev web site is still up. Thanks

Graphing a process's memory usage

自作多情 提交于 2019-12-04 07:27:00
问题 Does anyone know of a tool to visually show the memory usage of a selected process on Ubuntu? ps aux will show a numerical snapshot, but I'd really like a line I can watch change as I hammer the process and hopefully see unexpected behaviours. Has anyone got any suggestions? 回答1: I couldn't find any real tools to do it. But I have found a neat small set of scripts that'll do it. Using this little bash loop to do the logging: while true; do ps -C <ProgramName> -o pid=,%mem=,vsz= >> /tmp/mem

Why is Supervisor not recognizing code changes?

不问归期 提交于 2019-12-04 07:21:19
I'm using Supervisor to manage my node.js applicaton on an EC2 instance with git for deployment. Supervisor does a good job of making sure my application stays up, but whenever I push new server-side code to my remote server, it tends to not recognize those changes. I need to kill the supervisor process and restart it. Is there something I'm doing wrong, or is this standard behavior? This is standard behaviour; supervisord does not detect changes in code. It only restarts processes if they themselves stop or die. Just instruct supervisord to restart the application whenever you push changes.

spark streaming throughput monitoring

半城伤御伤魂 提交于 2019-12-04 06:55:51
Is there a way to monitor the input and output throughput of a Spark cluster, to make sure the cluster is not flooded and overflowed by incoming data? In my case, I set up Spark cluster on AWS EC2, so I'm thinking of using AWS CloudWatch to monitor the NetworkIn and NetworkOut for each node in the cluster. But my idea seems to be not accurate and network does not meaning incoming data for Spark only, maybe also some other data would be calculated too. Is there a tool or way to monitor specifically for Spark cluster streaming data status ? Or there's already a built-in tool in Spark that I

Nginx stub_status: Ignore own requests

耗尽温柔 提交于 2019-12-04 06:23:44
问题 When enabling the stub_status in Nginx, statistics about the server can be queried: location /stats { stub_status on; access_log off; allow 127.0.0.1; deny all; } I'm interested in the "requests handled" metric. The problem is that this metric includes the requests sent to query the current status. Is there a way to ignore the requests against /stats in the reported data? 回答1: As you can see in the source code, the counter is incremented exactly at the moment when a new request "object" is

Use FSEvents in sandboxed app

自闭症网瘾萝莉.ら 提交于 2019-12-04 05:58:24
I'm trying to use FSEvents in my sandboxed app to monitor some directories. I implemented the following class: @implementation SNTracker - (id)initWithPaths:(NSArray *)paths { self=[super init]; if (self) { trackedPaths=paths; CFTimeInterval latency=1.0; FSEventStreamContext context={0,(__bridge void *)self,NULL,NULL,NULL}; FSEventStreamRef eeventStream=FSEventStreamCreate(kCFAllocatorDefault,&callback,&context,(__bridge CFArrayRef)trackedPaths,kFSEventStreamEventIdSinceNow,latency,kFSEventStreamCreateFlagUseCFTypes|kFSEventStreamCreateFlagWatchRoot|kFSEventStreamCreateFlagFileEvents);