Open source · Apache 2.0 · Linux, macOS and Windows

See which system falls out of rhythm.
And since when.

Software-EKG is a workbench for the dynamic analysis of complex, distributed systems. For troubleshooting, it lays the runtime behaviour of their servers, processes and applications on top of each other across days, weeks or releases, and reveals anomalies in their interplay that monitoring does not catch, because each system on its own looks normal. The AI Assistant is a sparring partner: it helps form hypotheses about what stands out and verify them against the data.

Ready-made packages with their own Java runtime. Unpack and start.

Ten curves over one week: nine rise and fall together from Monday to Friday, one stays well above them all week.
Illustration: nine nodes in rhythm, one above them. The real case behind it is further down.

Prometheus collects. Grafana monitors.
Software-EKG compares and investigates.

Monitoring continuously answers whether known conditions are healthy. Software-EKG helps an analyst find what is different in this case—between systems, time periods and releases, even when no alert has fired.

Monitoring

Is the system healthy right now?

  • Continuous operation
  • Known signals and thresholds
  • Dashboards and alerts
Software-EKG

What is different—where and since when?

  • A concrete, exploratory investigation
  • Initially unknown patterns
  • Comparison of many systems over long periods

Not a dashboard. Not alerting. Not a replacement for Prometheus or Grafana. An instrument for performance analysts, architects and experts—with AI support for rookies and with verification that avoids misdiagnoses.

Compare
instead of building another dashboard
Long-term
days, weeks and releases instead of a snapshot
Many systems
together in one picture instead of one by one
Local
analyse without querying production again

Patterns nobody asked about

The name is meant literally: EKG is the German abbreviation for an electrocardiogram (ECG). Just as an ECG records the signals of the heart over time, Software-EKG records the measurements of the systems that together form a distributed system. The core is comparison, and many patterns lie within every threshold that would trigger an alert.

Why does the heap grow steadily on three out of fifty systems?No threshold is violated. It only stands out next to the other 47.

Why does a load pattern occur every fourteen days?Visible only when the period is long enough.

Why did the behaviour change after a particular release?Since when exactly, and on which systems?

Why do two systems that should be identical show different curves?Same software, same load, a different curve.

Experienced analysts recognise such patterns through practice. To many others, they initially remain just curves. The AI Assistant is the sparring partner that was missing: it helps form hypotheses and check them against the data. The decision remains with the human.

Everyone says: it works on my side.

Large distributed applications cross organisational boundaries: different suppliers, providers and operations teams. Each of them looks at its own part, and each part is fine. The customer is still left stranded, because the application does not work, is unstable or fails sporadically.

SupplierOK

“Our software runs.”

ProviderOK

“No incident on the platform.”

Operations teamOK

“All dashboards are green.”

CustomerProblem

“It still fails. Sporadically.”

Software-EKG puts the measurements of all parties on one time axis, in one local data set and independent of whose monitoring they come from. Where there is no direct access, an external collector runs inside the boundary and its collection crosses it as CSV files, for example on a share. What nobody sees within their own boundary becomes visible in the comparison: which system, since when, in step with what. The result is not blame but a well-founded question to the right team.

Five nodes, ten instances, one outlier

The CPU load of the WebLogic instances wls1 and wls2 on five nodes of a cluster, 1 to 9 March 2015, as hourly means, selected by wildcards into one view.

  • visibleThe application is only used during the day, Monday to Friday. On Tuesday the WebLogic load balancer of one node gives wls2 three times as much as wls1; from Wednesday on both run level. But the node as a whole carries several times as much as the others all week, at night and on Saturday too: the distribution onto the nodes is wrong.
  • not in the pictureWhy this is so. But the picture gives the three facts that matter: which node, which period, and what to compare it with.
  • established beforehandThe collector records each WebLogic instance under the same name on every host. The lines are comparable; a measurement error is ruled out as an explanation.

The cause was the load balancing in the client, a native Java application. The node did receive more load, but the cause was not on the servers. The picture led to the right node and to the right question; the answer took knowledge of the architecture. Two independent load balancing mechanisms did not work, so a change in one place did not fix the problem, it only changed it. The application kept running, if with odd response times; nothing showed in the logs, and operations had ignored it. Only the recording made both faults visible and led to two tests: one for the WebLogic load balancer and one for the load balancer of the application, which has to distribute onto the nodes.

Read the whole case →
Chart of the hourly CPU load of the WebLogic instances wls1 and wls2 on five cluster nodes, 1 to 9 March 2015; both instances of one node stay well above the others.
From the workbench, with the real measurements. The host names are replaced.

From a broad view to the decisive difference

The investigation is assembled for one concrete case. There is no permanently prescribed monitoring catalogue; the question that emerges during comparison determines which measurements matter.

1

Collect

Import from Prometheus, or let the collector read system metrics, JMX and logs via SSH. The data then lies locally, in the embedded Solr.

2

Compare

Put many time series into one picture by wildcard, change the time window, add further systems. Often the question only emerges while comparing.

3

Bookmark

Preserve the view in which something stands out: which server, which period, compared with what.

4

Test hypotheses

The AI Assistant helps form hypotheses about what stands out and checks them against the raw data, with evidence and counter-evidence.

5

Hand over

The chart as PNG, the values as Excel: evidence for the report or presentation in which the finding belongs.

After that, you go deeper where it counts. Memory profilers, CPU profilers or network tracing tools are used for exactly the component and period that stood out in the metric analysis.

The workbench with a chart of response times and the AI Assistant, which compares web03 with web01 and web02 and reads the growing heap as a memory leak.
web03 gets slow around 13:00. The assistant compares it with web01 and web02, reads the heap as a memory leak, and says what the metrics do not show.

A sparring partner for questions and hypotheses

The idea is more than 15 years old and has been developed further ever since. Most recently, version 7.x added AI support.

The tool always had a barrier: experienced analysts, architects and performance engineers recognise patterns in dense charts that beginners easily miss. Without an expert at hand, most users were overwhelmed as soon as the curves seemed to contradict each other, because the tool offered no explanation for the situation.

The built-in AI Assistant fills that gap as a sparring partner. It is not comprehensive enough to be handed the whole analysis. But it works on the same data, helps form hypotheses, and checks questions and hypotheses against the measurements, with evidence and counter-evidence.

The check also guards against misdiagnosis: findings whose cause is a different one than the obvious. When memory runs out, the heap is often not simply configured too small. It can be normal, with more users on the system, or abnormal: a memory leak, or memory that multiplies with the number of users.

  • chartSees the current chart section, in the time zone of the chart
  • metricsKnows the metrics and dimensions of the project
  • queryQueries time series itself
  • sshLooks at logs and processes via SSH. Each command only after the analyst has approved it

The assistant talks to an OpenAI-compatible endpoint, at present OpenRouter with a Claude model; the API key comes from OPENROUTER_API_KEY. What it is shown goes to that service. AI output is a hypothesis aid, not collected evidence.

Many have an ECG. But there are only a few chief physicians who can really draw conclusions from it.
Customer feedback, paraphrased · The AI Assistant does not replace the chief physician. It is the sparring partner for everyone else.

Built for many series in one picture

A JavaFX application for your own machine: explorer, filter header, chart, legend and AI Assistant. Navigation between hundreds of series, without programming.

bookmarks

A bookmark stores the query, not a picture

The filters that select its series, and the time range. The view can be opened again and changed.

export

PNG and Excel as evidence

The picture for the incident report, the values for independent checking. The document itself is written where it belongs.

500 pts/line

Long periods stay interactive

At display time every series is reduced to a fixed number of points: value change, LTTB and Douglas-Peucker. The raw data stays stored.

~/.ekg

A local, repeatable data set

Embedded Solr on your own machine; Solr, Elasticsearch or ClickHouse as a remote repository. Production is not loaded again with every look.

Define what to measure, where, and what to compare

The collector is an adapter between the systems that already expose their values somewhere and the repository the workbench analyses. You do not need it for a first chart, because the workbench has one of its own. The standalone collector is there for where direct access ends: in corporate environments, direct access is often more problematic than letting a Java process run somewhere and putting its data on a share. It runs on a server, a jump host or a Raspberry Pi.

Sources
unix · topunixio · iostatunixdf · dfwin · perf countersjmxjolokiaprometheuslog · regexcalc
Writes to
CSVSolrElasticsearch

Log lines become time series. A metric is a regular expression, its series the number of matching lines per interval. What an application only writes into its log was never a metric anywhere.

A source is a small plugin. The bundled mock source is one class of about 90 lines and a ServiceLoader entry. A coding agent writes such a source for a proprietary interface in minutes.

The collector in the handbook →
config.yaml
metricGroups:
  host:
    type: unix                # top via SSH
    metrics:
      - '\CPU\us'
      - '\Load\one'

processGroups:
  system:
    - name: global
      source: '${REF:hostAddress}:22'

hostGroups:
  db:
    username: ekg
    password: '${ENV:EKG_SSH_PASSWORD}'
    hosts: [db-01, db-02]

collectors:               # what × where × how often
  - metricGroup: host
    processGroup: system
    hostGroup: db
    interval: 15s

Every entry under collectors is multiplied out into one job per host and process. The names of the groups later are dimensions of every series: what you compare by.

The display of a collector: five jobs, three OK, one problem, with the reason in words.
The collector's display for a small touch screen, such as the 7 inch panel of a Raspberry Pi: the jobs, those with a problem first.
One job of the collector with its metrics, the values read last and small curves.
A job with its metrics: the value read last, minimum and maximum, and a small curve.
Architecture: an external collector reads Linux, Windows and Kubernetes systems and writes into a remote Solr, which the workbench on the analyst's workstation queries.
One of four setups: an external collector writes into a remote Solr, and the workbench queries it. The collectors fetch the data; the measured systems send nothing by themselves. All four in the handbook

What it is not

What Software-EKG leaves to other tools, and what it does not promise.

Not a dashboard, not alerting

Dashboards and alerts on the running system remain the job of tools such as Grafana.

Not live monitoring

The workbench has a live display, but it mainly confirms that data is arriving.

Not an anomaly detector

It is an anomaly verifier with hypothesis formation: the human notices what stands out; the assistant helps form hypotheses and check them against the data.

No promise of the cause

The picture leads to the right server and to the right question. The answer is often not in any time series; it takes knowledge of the architecture.

Tool Optimised for Software-EKG, by contrast
Grafana Dashboards and alerts on the running system Analysis afterwards, locally, with many series in one picture
Prometheus and long-term storage such as Thanos or Mimir Collecting, retaining and querying A local data set prepared for interactive comparison
AI SRE agents Narrowing down an incident autonomously as soon as an alert fires The human notices and decides; the assistant helps form hypotheses and verifies them against the data
Notebook or coding agent on exported data Answering a specific question with code Navigation between hundreds of series without programming, in a growing data set

The differentiation is based on purpose, not on weaknesses of the other tools. It has not been shown that Software-EKG is better for this kind of analysis than the alternatives; only a reproducible comparison can show that. The whole positioning

Unpack and start

Ready-made packages, each with its own Java runtime, about 200 MB. The latest release, straight from GitHub.

macOS

Apple Silicon · not signed

Workbench for macOS Collector for macOS
  1. Unpack the ZIP.
  2. Lift the quarantine, because the package is not signed: xattr -dr com.apple.quarantine <directory>
  3. Start: bin/software-ekg.sh

The shortest way to a first chart

The workbench contains a collector of its own. A first analysis therefore needs neither a separate collector nor an import:

  • 1Choose Analysis → New Analysis...: Linux / Unix, Windows Server or Java / JVM.
  • 2Say how the data comes: through a Prometheus server, or directly from each host by SSH and top.
  • 3Enter the address and finish the dialog. The first chart opens as soon as the first values are there.

For the AI Assistant, the environment variable OPENROUTER_API_KEY must be set before the start.

From source

Needs JDK 25 with JavaFX 25 (for example Liberica Full JDK) and Maven 3.9 or newer. Also the way for other platforms, such as macOS on Intel.

git clone https://github.com/Weigend/Software-EKG.git
cd Software-EKG
./install-wfx.sh          # UI framework WFX, once

./run-workbench.sh        # builds, then starts
./run-collector.sh        # sample values, source "mock"

Which of your systems is out of rhythm?

Software-EKG is licensed under Apache 2.0. Collect locally, compare, and take a well-founded question to the right people.