From 6f16bc1d5b7f983db102938ef806deb499ae7472 Mon Sep 17 00:00:00 2001
From: Filipe Oliveira <144428646+filipeaaoliveira@users.noreply.github.com>
Date: Sun, 9 Aug 2026 21:48:13 +0200
Subject: [PATCH] Alias Prometheus and drop the stale Azure icon note
Upstream ships this icon as promethus.svg, so the generated class inherits
the misspelling. Adding the alias now keeps the correct spelling available
without a breaking rename later.
The note in autogen.sh saying the Azure set is out of date no longer
applies now that the icons have been refreshed.
---
autogen.sh | 1 -
config.py | 4 ++++
diagrams/azure/newicons.py | 2 ++
docs/nodes/azure.md | 2 +-
4 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/autogen.sh b/autogen.sh
index c8e6922d..263ae41a 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -2,7 +2,6 @@
echo "starting"
app_root_dir="diagrams"
-# NOTE: azure icon set is not latest version
providers=(
"onprem"
"aws"
diff --git a/config.py b/config.py
index 2a0db098..d1ae8ace 100644
--- a/config.py
+++ b/config.py
@@ -281,6 +281,10 @@ ALIASES = {
"KubernetesServices": "AKS",
"VMScaleSet": "VMSS"
},
+ # Upstream ships this icon as promethus.svg; expose the correct spelling too.
+ "newicons": {
+ "Promethus": "Prometheus",
+ },
},
"gcp": {
"analytics": {
diff --git a/diagrams/azure/newicons.py b/diagrams/azure/newicons.py
index cca2d8e9..dc5a6b3b 100644
--- a/diagrams/azure/newicons.py
+++ b/diagrams/azure/newicons.py
@@ -193,3 +193,5 @@ class WorkloadOrchestration(_Newicons):
# Aliases
+
+Prometheus = Promethus
diff --git a/docs/nodes/azure.md b/docs/nodes/azure.md
index 681383c5..a738654c 100644
--- a/docs/nodes/azure.md
+++ b/docs/nodes/azure.md
@@ -2061,7 +2061,7 @@ Node classes list of the azure provider.
**diagrams.azure.newicons.PlanetaryComputerPro**
-**diagrams.azure.newicons.Promethus**
+**diagrams.azure.newicons.Promethus**, **Prometheus** (alias)
**diagrams.azure.newicons.Pubsub**