Questions tagged [monitoring]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
11
votes
3answers
3k views

How to monitor a long-running program programmatically

What I've currently got can be summed up with this pseudo code: public static void Main(string[] args) { var listOfObjects = Database.GetObjectsToUploadToOnlineService(); Parallel.ForEach(...
6
votes
3answers
4k views

Difference between watchdog timer and heartbeat signals?

As the title says what is the difference between watchdog timer and heartbeat signal ? When to use each of them.
5
votes
4answers
2k views

Write progress from a long running process

We have some long running processes which could run for as long as an hour up to 6 hours. Some of the processes are started by hand and the user wants to see what the progress of the process is. ...
5
votes
2answers
171 views

Tracking state changes based on duration of time in state

I've been building a monitoring system that checks whether a device is alarmed or not, and if so, sends notifications to relevant users based on how long a device is in a particular state. Here's an ...
3
votes
1answer
632 views

How to design error monitoring for batch jobs with multiple and diverse steps?

I'm working on a software to integrate an e-commerce store and the company ERP. All the integration steps are run as a unique batch job, every 5 minutes. Things are working under production, but I'm ...
3
votes
2answers
328 views

Designing database job monitoring

I have several Oracle database where my in-house applications are running. Those applications use both dba_jobs and dba_scheduler_jobs. I want to write monitoring function: check_my_jobs which will ...
2
votes
2answers
126 views

Design a function that indicates significant deviations in response times

I'd need some feedback on how to approach the design of a function that highlights parts of a time series chart. The chart shows the response time of an application, in particular the 90th percentile, ...
2
votes
2answers
173 views

Java EE exceptions for validation and APMs

In my current work, we have some Java EE applications and we use exceptions and exception mappers to deal with user errors, i.e. that can't be dealt with in the frontend. We usually reply with a 400, ...
2
votes
0answers
44 views

What is the most efficient way to find filesystem changes in percentage?

I am planning to write a program that will produce digest logs for file changes in a particular directory. The idea is that whenever a file is deleted in a particular directory, it will show up in the ...
2
votes
0answers
73 views

Technique to passively take down a host on the network [closed]

I am developing a program which is to be installed on a "simple" machine in a LAN, the only particularity is that the NIC are connected on mirror ports. The software can scan and monitor the network. ...
1
vote
3answers
72 views

Monitoring write-intensive web service through submitting synthesized data?

We have a web service that accepts images and metadata uploaded by end users, and the uploaded images would go through multiple steps of processing / reviewing with human involved. To monitor the ...
1
vote
2answers
119 views

How to comfortably monitor 5 daemons while developing them?

This is the scenario: I'm on this project for which I wrote 4 Node.js scripts that act as "servers" for some service (they have to be separated). I also use Redis, that is another service to keep an ...
1
vote
0answers
44 views

How should propagation of service abuse information work within a microservice architecture?

At the moment, I'm working on a product that's being broken down from a monolith to a bunch of microservices, and it seems to be going well enough. However, if a user is abusing the service somehow, ...
1
vote
1answer
79 views

windows users vs. custom [closed]

My application needs to support a "shift change" scenario. Essentially, a person is managing some assets. At the shift change, the person that was there leaves right as the replacement signs in. The ...
0
votes
2answers
157 views

Techniques for observing runtime state in C

What are the techniques for C programs which allow easily inspecting the state of the embedded device, through a communication link? For example, for a microcontroller device which communicates with ...
0
votes
2answers
249 views

Designing a scalable website monitoring infrastructure

I'm designing a infrastructure to monitor websites and applications. The idea is to build an application which checks the user website/application with a certain interval (30 sec, 1 min, 5 min, etc.). ...
0
votes
1answer
109 views

How to do an "Automatic DB monitor" and notify the client

Until now I didn't find anything good about monitoring a DB's specific table (or related tables) specific values changed. I want to know: Since most of DB's don't support monitoring changes for ...
0
votes
1answer
63 views

How to add APM/observability/tracing in a monolithic architecture?

I keep reading articles analyzing Monitoring and Observability, or having lots and lots of text regarding how the latter is the extension of the first, or how they are complementary, or how tracing is ...
0
votes
1answer
991 views

What would be the architecture for a polling-based monitoring service?

I have a list of 75000 websites that need to be monitored for uptime. Monitoring the websites involves making a HTTP request for the website every minute, and the website is said to be "up" or "down" ...
0
votes
1answer
74 views

Standard Patterns to measure capacity in a competing consumers system

We have a number of systems that are based on the competing consumers pattern. We currently monitor the delay between an item of work being queued and processing finishing, however, as throughput ...
0
votes
0answers
23 views

Web API: Use proxy or auth

Meta Hi, I am a new developer and new to this stackexchange stuff. I dont have much experience but I read a lot. Introduction I am working on a monolithic web application and realized that it may be ...
0
votes
0answers
20 views

Pattern for monitoring in three tier app, which tier should handle metrics tracking?

I'm working on a cloud app with three tiers Web - Controller DB - Repository BusinessLogic - Handler Normally it's cut and dry where to put monitoring logic but in this case, when a use issues a ...
0
votes
0answers
46 views

Do logs enhance availability of service for a well monitored application?

I used to work for teams that built software as a service applications. Our requirements, regarding production, were often the same : A complex service (web application, database, daemons, typically) ...
-1
votes
1answer
51 views

How to objectively monitor REST APIs perofrmance based on the request/response size

We recently integrated a monitoring solution (Data Dog) for our REST-APIs based microservices. The monitoring solution gives us many useful metrics. For example, we can see the average response time ...
-1
votes
1answer
47 views

Show a service's status to the user

Some design thoughts on an application that is mostly event driven using kubernetes and docker. The application is a web based application, a single page one. It shows updates from the back-end such ...
-2
votes
1answer
80 views

What approaches are standard for 'healthcheck' monitoring of frontends?

A problem I'm currently solving is that at a glance I want to see the status of various services, including both frontends and backends, across dev, test and prod environments. That is, I want to see: ...
-2
votes
1answer
118 views

Monitoring my REST API service

I have a REST API. I want to monitor it -- that it's always up. That's the canonical way to ping it? Especially when all of its calls require an API key. Should I create an empty open end point ...
-4
votes
1answer
53 views

A request's round trip time monitoring at microservice production best tools and practices?

I've a microservice's system at production which provide an API to the outer world. Along with each service monitoring via monitoring tool ( Prometheus, zabbix, etc.) of course it's highly desirable ...