diff --git a/Makefile b/Makefile index e60ab5d2..534c214f 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ # VERSION=$(shell git describe | sed 's/^v//') -VERSION=0.11.2 +VERSION=0.11.3 DOCKER=podman diff --git a/scripts/tg-processor-state b/scripts/tg-processor-state new file mode 100755 index 00000000..f9945aac --- /dev/null +++ b/scripts/tg-processor-state @@ -0,0 +1,24 @@ +#!/usr/bin/env python3 + +import requests +import tabulate + +url = 'http://localhost:9090/api/v1/query?query=processor_state%7Bprocessor_state%3D%22running%22%7D' + +resp = requests.get(url) + +obj = resp.json() + +tbl = [ + [ + m["metric"]["instance"], + "running" if int(m["value"][1]) > 0 else "down" + ] + for m in obj["data"]["result"] +] + +print(tabulate.tabulate( + tbl, tablefmt="pretty", headers=["processor", "state"], + stralign="left" +)) + diff --git a/setup.py b/setup.py index c06bbb4f..fef88ea8 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ import os with open("README.md", "r") as fh: long_description = fh.read() -version = "0.11.2" +version = "0.11.3" setuptools.setup( name="trustgraph", @@ -41,6 +41,7 @@ setuptools.setup( "pulsar-client", "pypdf", "qdrant-client", + "tabulate", "anthropic", "google-cloud-aiplatform", "pyyaml", @@ -99,6 +100,7 @@ setuptools.setup( "scripts/text-completion-ollama", "scripts/text-completion-openai", "scripts/text-completion-vertexai", + "scripts/tg-processor-state", "scripts/triples-dump-parquet", "scripts/triples-query-cassandra", "scripts/triples-query-neo4j", diff --git a/tg-launch-azure-cassandra.yaml b/tg-launch-azure-cassandra.yaml index 4929b235..84a1b6f4 100644 --- a/tg-launch-azure-cassandra.yaml +++ b/tg-launch-azure-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 init-pulsar: command: @@ -130,7 +130,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 kg-extract-relationships: command: @@ -145,7 +145,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 kg-extract-topics: command: @@ -160,7 +160,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 metering: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 metering-rag: command: @@ -192,7 +192,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 pdf-decoder: command: @@ -207,7 +207,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 prometheus: deploy: @@ -397,7 +397,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 prompt-rag: command: @@ -575,7 +575,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 pulsar: command: @@ -629,7 +629,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-graph-embeddings: command: @@ -646,7 +646,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-triples: command: @@ -663,7 +663,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-doc-embeddings: command: @@ -680,7 +680,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-graph-embeddings: command: @@ -697,7 +697,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-triples: command: @@ -714,7 +714,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 text-completion: command: @@ -737,7 +737,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 text-completion-rag: command: @@ -764,7 +764,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 vectorize: command: @@ -779,7 +779,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-azure-neo4j.yaml b/tg-launch-azure-neo4j.yaml index aa6b5a37..b1bf7008 100644 --- a/tg-launch-azure-neo4j.yaml +++ b/tg-launch-azure-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 init-pulsar: command: @@ -113,7 +113,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 kg-extract-relationships: command: @@ -128,7 +128,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 kg-extract-topics: command: @@ -143,7 +143,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 metering: command: @@ -158,7 +158,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 metering-rag: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 neo4j: deploy: @@ -208,7 +208,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 prometheus: deploy: @@ -398,7 +398,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 prompt-rag: command: @@ -576,7 +576,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 pulsar: command: @@ -630,7 +630,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-graph-embeddings: command: @@ -647,7 +647,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-triples: command: @@ -664,7 +664,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-doc-embeddings: command: @@ -681,7 +681,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-graph-embeddings: command: @@ -698,7 +698,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-triples: command: @@ -715,7 +715,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 text-completion: command: @@ -738,7 +738,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 text-completion-rag: command: @@ -765,7 +765,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 vectorize: command: @@ -780,7 +780,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-bedrock-cassandra.yaml b/tg-launch-bedrock-cassandra.yaml index 25a3f3c8..a4b2e192 100644 --- a/tg-launch-bedrock-cassandra.yaml +++ b/tg-launch-bedrock-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 init-pulsar: command: @@ -130,7 +130,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 kg-extract-relationships: command: @@ -145,7 +145,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 kg-extract-topics: command: @@ -160,7 +160,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 metering: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 metering-rag: command: @@ -192,7 +192,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 pdf-decoder: command: @@ -207,7 +207,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 prometheus: deploy: @@ -397,7 +397,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 prompt-rag: command: @@ -575,7 +575,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 pulsar: command: @@ -629,7 +629,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-graph-embeddings: command: @@ -646,7 +646,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-triples: command: @@ -663,7 +663,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-doc-embeddings: command: @@ -680,7 +680,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-graph-embeddings: command: @@ -697,7 +697,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-triples: command: @@ -714,7 +714,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 text-completion: command: @@ -741,7 +741,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 text-completion-rag: command: @@ -772,7 +772,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 vectorize: command: @@ -787,7 +787,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-bedrock-neo4j.yaml b/tg-launch-bedrock-neo4j.yaml index cc998257..45f4b1ae 100644 --- a/tg-launch-bedrock-neo4j.yaml +++ b/tg-launch-bedrock-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 init-pulsar: command: @@ -113,7 +113,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 kg-extract-relationships: command: @@ -128,7 +128,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 kg-extract-topics: command: @@ -143,7 +143,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 metering: command: @@ -158,7 +158,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 metering-rag: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 neo4j: deploy: @@ -208,7 +208,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 prometheus: deploy: @@ -398,7 +398,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 prompt-rag: command: @@ -576,7 +576,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 pulsar: command: @@ -630,7 +630,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-graph-embeddings: command: @@ -647,7 +647,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-triples: command: @@ -664,7 +664,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-doc-embeddings: command: @@ -681,7 +681,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-graph-embeddings: command: @@ -698,7 +698,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-triples: command: @@ -715,7 +715,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 text-completion: command: @@ -742,7 +742,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 text-completion-rag: command: @@ -773,7 +773,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 vectorize: command: @@ -788,7 +788,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-claude-cassandra.yaml b/tg-launch-claude-cassandra.yaml index b8ff4f12..8cfb4f4f 100644 --- a/tg-launch-claude-cassandra.yaml +++ b/tg-launch-claude-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 init-pulsar: command: @@ -130,7 +130,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 kg-extract-relationships: command: @@ -145,7 +145,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 kg-extract-topics: command: @@ -160,7 +160,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 metering: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 metering-rag: command: @@ -192,7 +192,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 pdf-decoder: command: @@ -207,7 +207,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 prometheus: deploy: @@ -397,7 +397,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 prompt-rag: command: @@ -575,7 +575,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 pulsar: command: @@ -629,7 +629,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-graph-embeddings: command: @@ -646,7 +646,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-triples: command: @@ -663,7 +663,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-doc-embeddings: command: @@ -680,7 +680,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-graph-embeddings: command: @@ -697,7 +697,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-triples: command: @@ -714,7 +714,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 text-completion: command: @@ -735,7 +735,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 text-completion-rag: command: @@ -760,7 +760,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 vectorize: command: @@ -775,7 +775,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-claude-neo4j.yaml b/tg-launch-claude-neo4j.yaml index b0aa68d6..eeeac5a5 100644 --- a/tg-launch-claude-neo4j.yaml +++ b/tg-launch-claude-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 init-pulsar: command: @@ -113,7 +113,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 kg-extract-relationships: command: @@ -128,7 +128,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 kg-extract-topics: command: @@ -143,7 +143,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 metering: command: @@ -158,7 +158,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 metering-rag: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 neo4j: deploy: @@ -208,7 +208,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 prometheus: deploy: @@ -398,7 +398,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 prompt-rag: command: @@ -576,7 +576,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 pulsar: command: @@ -630,7 +630,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-graph-embeddings: command: @@ -647,7 +647,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-triples: command: @@ -664,7 +664,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-doc-embeddings: command: @@ -681,7 +681,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-graph-embeddings: command: @@ -698,7 +698,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-triples: command: @@ -715,7 +715,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 text-completion: command: @@ -736,7 +736,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 text-completion-rag: command: @@ -761,7 +761,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 vectorize: command: @@ -776,7 +776,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-cohere-cassandra.yaml b/tg-launch-cohere-cassandra.yaml index 3bdf5df3..82a5d18b 100644 --- a/tg-launch-cohere-cassandra.yaml +++ b/tg-launch-cohere-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 init-pulsar: command: @@ -130,7 +130,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 kg-extract-relationships: command: @@ -145,7 +145,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 kg-extract-topics: command: @@ -160,7 +160,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 metering: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 metering-rag: command: @@ -192,7 +192,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 pdf-decoder: command: @@ -207,7 +207,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 prometheus: deploy: @@ -397,7 +397,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 prompt-rag: command: @@ -575,7 +575,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 pulsar: command: @@ -629,7 +629,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-graph-embeddings: command: @@ -646,7 +646,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-triples: command: @@ -663,7 +663,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-doc-embeddings: command: @@ -680,7 +680,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-graph-embeddings: command: @@ -697,7 +697,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-triples: command: @@ -714,7 +714,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 text-completion: command: @@ -733,7 +733,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 text-completion-rag: command: @@ -756,7 +756,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 vectorize: command: @@ -771,7 +771,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-cohere-neo4j.yaml b/tg-launch-cohere-neo4j.yaml index 60fc8c95..1c5ee5be 100644 --- a/tg-launch-cohere-neo4j.yaml +++ b/tg-launch-cohere-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 init-pulsar: command: @@ -113,7 +113,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 kg-extract-relationships: command: @@ -128,7 +128,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 kg-extract-topics: command: @@ -143,7 +143,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 metering: command: @@ -158,7 +158,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 metering-rag: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 neo4j: deploy: @@ -208,7 +208,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 prometheus: deploy: @@ -398,7 +398,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 prompt-rag: command: @@ -576,7 +576,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 pulsar: command: @@ -630,7 +630,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-graph-embeddings: command: @@ -647,7 +647,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-triples: command: @@ -664,7 +664,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-doc-embeddings: command: @@ -681,7 +681,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-graph-embeddings: command: @@ -698,7 +698,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-triples: command: @@ -715,7 +715,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 text-completion: command: @@ -734,7 +734,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 text-completion-rag: command: @@ -757,7 +757,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 vectorize: command: @@ -772,7 +772,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-llamafile-cassandra.yaml b/tg-launch-llamafile-cassandra.yaml index c168fea7..047e9e1b 100644 --- a/tg-launch-llamafile-cassandra.yaml +++ b/tg-launch-llamafile-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 init-pulsar: command: @@ -130,7 +130,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 kg-extract-relationships: command: @@ -145,7 +145,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 kg-extract-topics: command: @@ -160,7 +160,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 metering: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 metering-rag: command: @@ -192,7 +192,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 pdf-decoder: command: @@ -207,7 +207,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 prometheus: deploy: @@ -242,7 +242,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 prompt-rag: command: @@ -265,7 +265,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 pulsar: command: @@ -319,7 +319,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-graph-embeddings: command: @@ -336,7 +336,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-triples: command: @@ -353,7 +353,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-doc-embeddings: command: @@ -370,7 +370,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-graph-embeddings: command: @@ -387,7 +387,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-triples: command: @@ -404,7 +404,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 text-completion: command: @@ -423,7 +423,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 text-completion-rag: command: @@ -446,7 +446,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 vectorize: command: @@ -461,7 +461,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-llamafile-neo4j.yaml b/tg-launch-llamafile-neo4j.yaml index 0b1f3084..c6013820 100644 --- a/tg-launch-llamafile-neo4j.yaml +++ b/tg-launch-llamafile-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 init-pulsar: command: @@ -113,7 +113,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 kg-extract-relationships: command: @@ -128,7 +128,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 kg-extract-topics: command: @@ -143,7 +143,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 metering: command: @@ -158,7 +158,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 metering-rag: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 neo4j: deploy: @@ -208,7 +208,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 prometheus: deploy: @@ -243,7 +243,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 prompt-rag: command: @@ -266,7 +266,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 pulsar: command: @@ -320,7 +320,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-graph-embeddings: command: @@ -337,7 +337,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-triples: command: @@ -354,7 +354,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-doc-embeddings: command: @@ -371,7 +371,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-graph-embeddings: command: @@ -388,7 +388,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-triples: command: @@ -405,7 +405,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 text-completion: command: @@ -424,7 +424,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 text-completion-rag: command: @@ -447,7 +447,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 vectorize: command: @@ -462,7 +462,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-ollama-cassandra.yaml b/tg-launch-ollama-cassandra.yaml index 6d41d793..df73aae4 100644 --- a/tg-launch-ollama-cassandra.yaml +++ b/tg-launch-ollama-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 init-pulsar: command: @@ -130,7 +130,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 kg-extract-relationships: command: @@ -145,7 +145,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 kg-extract-topics: command: @@ -160,7 +160,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 metering: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 metering-rag: command: @@ -192,7 +192,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 pdf-decoder: command: @@ -207,7 +207,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 prometheus: deploy: @@ -242,7 +242,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 prompt-rag: command: @@ -265,7 +265,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 pulsar: command: @@ -319,7 +319,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-graph-embeddings: command: @@ -336,7 +336,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-triples: command: @@ -353,7 +353,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-doc-embeddings: command: @@ -370,7 +370,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-graph-embeddings: command: @@ -387,7 +387,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-triples: command: @@ -404,7 +404,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 text-completion: command: @@ -423,7 +423,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 text-completion-rag: command: @@ -446,7 +446,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 vectorize: command: @@ -461,7 +461,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-ollama-neo4j.yaml b/tg-launch-ollama-neo4j.yaml index d4b46e54..759b73ce 100644 --- a/tg-launch-ollama-neo4j.yaml +++ b/tg-launch-ollama-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 init-pulsar: command: @@ -113,7 +113,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 kg-extract-relationships: command: @@ -128,7 +128,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 kg-extract-topics: command: @@ -143,7 +143,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 metering: command: @@ -158,7 +158,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 metering-rag: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 neo4j: deploy: @@ -208,7 +208,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 prometheus: deploy: @@ -243,7 +243,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 prompt-rag: command: @@ -266,7 +266,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 pulsar: command: @@ -320,7 +320,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-graph-embeddings: command: @@ -337,7 +337,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-triples: command: @@ -354,7 +354,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-doc-embeddings: command: @@ -371,7 +371,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-graph-embeddings: command: @@ -388,7 +388,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-triples: command: @@ -405,7 +405,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 text-completion: command: @@ -424,7 +424,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 text-completion-rag: command: @@ -447,7 +447,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 vectorize: command: @@ -462,7 +462,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-openai-cassandra.yaml b/tg-launch-openai-cassandra.yaml index 682ce470..18cb1d79 100644 --- a/tg-launch-openai-cassandra.yaml +++ b/tg-launch-openai-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 init-pulsar: command: @@ -130,7 +130,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 kg-extract-relationships: command: @@ -145,7 +145,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 kg-extract-topics: command: @@ -160,7 +160,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 metering: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 metering-rag: command: @@ -192,7 +192,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 pdf-decoder: command: @@ -207,7 +207,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 prometheus: deploy: @@ -397,7 +397,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 prompt-rag: command: @@ -575,7 +575,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 pulsar: command: @@ -629,7 +629,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-graph-embeddings: command: @@ -646,7 +646,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-triples: command: @@ -663,7 +663,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-doc-embeddings: command: @@ -680,7 +680,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-graph-embeddings: command: @@ -697,7 +697,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-triples: command: @@ -714,7 +714,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 text-completion: command: @@ -737,7 +737,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 text-completion-rag: command: @@ -764,7 +764,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 vectorize: command: @@ -779,7 +779,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-openai-neo4j.yaml b/tg-launch-openai-neo4j.yaml index abd5348d..d8218828 100644 --- a/tg-launch-openai-neo4j.yaml +++ b/tg-launch-openai-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 init-pulsar: command: @@ -113,7 +113,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 kg-extract-relationships: command: @@ -128,7 +128,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 kg-extract-topics: command: @@ -143,7 +143,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 metering: command: @@ -158,7 +158,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 metering-rag: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 neo4j: deploy: @@ -208,7 +208,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 prometheus: deploy: @@ -398,7 +398,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 prompt-rag: command: @@ -576,7 +576,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 pulsar: command: @@ -630,7 +630,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-graph-embeddings: command: @@ -647,7 +647,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-triples: command: @@ -664,7 +664,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-doc-embeddings: command: @@ -681,7 +681,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-graph-embeddings: command: @@ -698,7 +698,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-triples: command: @@ -715,7 +715,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 text-completion: command: @@ -738,7 +738,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 text-completion-rag: command: @@ -765,7 +765,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 vectorize: command: @@ -780,7 +780,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-launch-vertexai-cassandra.yaml b/tg-launch-vertexai-cassandra.yaml index aabfea04..461f1131 100644 --- a/tg-launch-vertexai-cassandra.yaml +++ b/tg-launch-vertexai-cassandra.yaml @@ -33,7 +33,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 embeddings: command: @@ -50,7 +50,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 grafana: deploy: @@ -95,7 +95,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 init-pulsar: command: @@ -130,7 +130,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 kg-extract-relationships: command: @@ -145,7 +145,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 kg-extract-topics: command: @@ -160,7 +160,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 metering: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 metering-rag: command: @@ -192,7 +192,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 pdf-decoder: command: @@ -207,7 +207,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 prometheus: deploy: @@ -397,7 +397,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 prompt-rag: command: @@ -575,7 +575,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 pulsar: command: @@ -629,7 +629,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-graph-embeddings: command: @@ -646,7 +646,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-triples: command: @@ -663,7 +663,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-doc-embeddings: command: @@ -680,7 +680,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-graph-embeddings: command: @@ -697,7 +697,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-triples: command: @@ -714,7 +714,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 text-completion: command: @@ -739,7 +739,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 volumes: - ./vertexai:/vertexai @@ -770,7 +770,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 volumes: - ./vertexai:/vertexai @@ -787,7 +787,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-launch-vertexai-neo4j.yaml b/tg-launch-vertexai-neo4j.yaml index e7185f5f..40a21b5d 100644 --- a/tg-launch-vertexai-neo4j.yaml +++ b/tg-launch-vertexai-neo4j.yaml @@ -16,7 +16,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 embeddings: command: @@ -33,7 +33,7 @@ services: reservations: cpus: '0.5' memory: 400M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 grafana: deploy: @@ -78,7 +78,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 init-pulsar: command: @@ -113,7 +113,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 kg-extract-relationships: command: @@ -128,7 +128,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 kg-extract-topics: command: @@ -143,7 +143,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 metering: command: @@ -158,7 +158,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 metering-rag: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 neo4j: deploy: @@ -208,7 +208,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 prometheus: deploy: @@ -398,7 +398,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 prompt-rag: command: @@ -576,7 +576,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 pulsar: command: @@ -630,7 +630,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-graph-embeddings: command: @@ -647,7 +647,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-triples: command: @@ -664,7 +664,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-doc-embeddings: command: @@ -681,7 +681,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-graph-embeddings: command: @@ -698,7 +698,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-triples: command: @@ -715,7 +715,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 text-completion: command: @@ -740,7 +740,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 volumes: - ./vertexai:/vertexai @@ -771,7 +771,7 @@ services: reservations: cpus: '0.1' memory: 256M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 volumes: - ./vertexai:/vertexai @@ -788,7 +788,7 @@ services: reservations: cpus: '0.5' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/tg-storage-cassandra.yaml b/tg-storage-cassandra.yaml index 5620c625..5b40f49f 100644 --- a/tg-storage-cassandra.yaml +++ b/tg-storage-cassandra.yaml @@ -124,7 +124,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-graph-embeddings: command: @@ -141,7 +141,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-triples: command: @@ -158,7 +158,7 @@ services: reservations: cpus: '0.1' memory: 512M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-doc-embeddings: command: @@ -175,7 +175,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-graph-embeddings: command: @@ -192,7 +192,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-triples: command: @@ -209,7 +209,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 volumes: cassandra: {} diff --git a/tg-storage-neo4j.yaml b/tg-storage-neo4j.yaml index a1525749..914dda18 100644 --- a/tg-storage-neo4j.yaml +++ b/tg-storage-neo4j.yaml @@ -125,7 +125,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-graph-embeddings: command: @@ -142,7 +142,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 query-triples: command: @@ -159,7 +159,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-doc-embeddings: command: @@ -176,7 +176,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-graph-embeddings: command: @@ -193,7 +193,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 store-triples: command: @@ -210,7 +210,7 @@ services: reservations: cpus: '0.1' memory: 128M - image: docker.io/trustgraph/trustgraph-flow:0.11.2 + image: docker.io/trustgraph/trustgraph-flow:0.11.3 restart: on-failure:100 volumes: grafana-storage: {} diff --git a/trustgraph/base/consumer.py b/trustgraph/base/consumer.py index 0c975cf5..eeaf83a1 100644 --- a/trustgraph/base/consumer.py +++ b/trustgraph/base/consumer.py @@ -1,6 +1,6 @@ from pulsar.schema import JsonSchema -from prometheus_client import start_http_server, Histogram, Info, Counter +from prometheus_client import Histogram, Info, Counter, Enum import time from . base_processor import BaseProcessor @@ -10,6 +10,15 @@ class Consumer(BaseProcessor): def __init__(self, **params): + if not hasattr(__class__, "state_metric"): + __class__.state_metric = Enum( + 'processor_state', 'Processor state', + states=['starting', 'running', 'stopped'] + ) + __class__.state_metric.state('starting') + + __class__.state_metric.state('starting') + super(Consumer, self).__init__(**params) input_queue = params.get("input_queue") @@ -47,6 +56,8 @@ class Consumer(BaseProcessor): def run(self): + __class__.state_metric.state('running') + while True: msg = self.consumer.receive() diff --git a/trustgraph/base/consumer_producer.py b/trustgraph/base/consumer_producer.py index 3f9d0f4f..08ae1880 100644 --- a/trustgraph/base/consumer_producer.py +++ b/trustgraph/base/consumer_producer.py @@ -1,6 +1,6 @@ from pulsar.schema import JsonSchema -from prometheus_client import Histogram, Info, Counter +from prometheus_client import Histogram, Info, Counter, Enum import time from . base_processor import BaseProcessor @@ -12,6 +12,15 @@ class ConsumerProducer(BaseProcessor): def __init__(self, **params): + if not hasattr(__class__, "state_metric"): + __class__.state_metric = Enum( + 'processor_state', 'Processor state', + states=['starting', 'running', 'stopped'] + ) + __class__.state_metric.state('starting') + + __class__.state_metric.state('starting') + input_queue = params.get("input_queue") output_queue = params.get("output_queue") subscriber = params.get("subscriber") @@ -66,6 +75,8 @@ class ConsumerProducer(BaseProcessor): def run(self): + __class__.state_metric.state('running') + while True: msg = self.consumer.receive()