@5minds/node-red-contrib-processcube-elasticsearch 0.4.0-feature-5cd432-m6aq869g → 0.4.0-feature-d4edf3-m6cmuwqg

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,9 +5,11 @@
5
5
  "private": true,
6
6
  "dependencies": {
7
7
  "@flowfuse/node-red-dashboard": "1.22.0",
8
- "passport-oauth2": "*",
8
+ "do-red": "~1.0.7",
9
9
  "jsonwebtoken": "*",
10
10
  "jwks-rsa": "*",
11
- "node-red-contrib-oauth2": "*"
11
+ "node-red-contrib-oauth2": "*",
12
+ "node-red-contrib-opentelemetry": "~1.6.2",
13
+ "passport-oauth2": "*"
12
14
  }
13
- }
15
+ }
package/Dockerfile CHANGED
@@ -9,6 +9,9 @@ RUN cd /package_src/ && npm install
9
9
 
10
10
  RUN npm install /package_src/
11
11
 
12
+ # test pckages
13
+ RUN npm install do-red
14
+
12
15
  # defaults
13
16
  USER node-red
14
17
 
@@ -18,13 +18,12 @@ services:
18
18
  - ./.processcube/nodered:/data
19
19
 
20
20
  elasticsearch:
21
- image: docker.elastic.co/elasticsearch/elasticsearch:8.10.1
21
+ image: elasticsearch:8.16.3
22
22
  container_name: elasticsearch
23
23
  environment:
24
24
  - discovery.type=single-node
25
25
  - xpack.security.enabled=false
26
26
  - xpack.security.http.ssl.enabled=false
27
- # - ELASTIC_PASSWORD=myelasticpassword
28
27
  - ES_JAVA_OPTS=-Xms512m -Xmx512m
29
28
  ports:
30
29
  - "9200:9200"
@@ -33,6 +32,32 @@ services:
33
32
  - es_data:/usr/share/elasticsearch/data
34
33
  restart: always
35
34
 
35
+ apm-server:
36
+ image: elastic/apm-server:8.16.3
37
+ container_name: apm-server
38
+ environment:
39
+ - output.elasticsearch.hosts=["http://elasticsearch:9200"]
40
+ - apm-server.host=0.0.0.0:8200
41
+ - apm-server.enable=true
42
+ - apm-server.instrumentation.enabled=true
43
+ - apm-server.instrumentation.otlp.enabled=true # Aktiviert OpenTelemetry
44
+ - apm-server.instrumentation.otlp.http.endpoint=/v1/traces
45
+ ports:
46
+ - "8200:8200" # OpenTelemetry-Endpunkt
47
+ depends_on:
48
+ - elasticsearch
49
+
50
+ kibana:
51
+ image: kibana:8.16.3
52
+ container_name: kibana
53
+ environment:
54
+ - xpack.security.enabled=false
55
+ - ELASTICSEARCH_HOSTS=http://elasticsearch:9200
56
+ ports:
57
+ - "5601:5601"
58
+ depends_on:
59
+ - elasticsearch
60
+
36
61
  volumes:
37
62
  es_data:
38
63
  driver: local
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@5minds/node-red-contrib-processcube-elasticsearch",
3
- "version": "0.4.0-feature-5cd432-m6aq869g",
3
+ "version": "0.4.0-feature-d4edf3-m6cmuwqg",
4
4
  "license": "MIT",
5
5
  "description": "Node-RED nodes for Elasticsearch",
6
6
  "scripts": {