Skip to content

Commit

Permalink
feat: add std out log exporter (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
vordimous authored May 10, 2024
1 parent 7ff70a7 commit fa590ad
Show file tree
Hide file tree
Showing 37 changed files with 156 additions and 43 deletions.
4 changes: 4 additions & 0 deletions amqp.reflect/zilla.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,7 @@ bindings:
north_echo_server:
type: echo
kind: server
telemetry:
exporters:
stdout_logs_exporter:
type: stdout
2 changes: 1 addition & 1 deletion grpc.echo/zilla.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,5 @@ bindings:
kind: server
telemetry:
exporters:
stdout_exporter:
stdout_logs_exporter:
type: stdout
2 changes: 1 addition & 1 deletion grpc.kafka.echo/zilla.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,5 +96,5 @@ bindings:
kind: client
telemetry:
exporters:
stdout_exporter:
stdout_logs_exporter:
type: stdout
2 changes: 1 addition & 1 deletion grpc.kafka.fanout/zilla.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,5 +88,5 @@ bindings:
kind: client
telemetry:
exporters:
stdout_exporter:
stdout_logs_exporter:
type: stdout
2 changes: 1 addition & 1 deletion grpc.kafka.proxy/zilla.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -126,5 +126,5 @@ bindings:
port: 8080
telemetry:
exporters:
stdout_exporter:
stdout_logs_exporter:
type: stdout
2 changes: 1 addition & 1 deletion grpc.proxy/zilla.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,5 @@ bindings:
port: 8080
telemetry:
exporters:
stdout_exporter:
stdout_logs_exporter:
type: stdout
4 changes: 4 additions & 0 deletions http.echo.jwt/zilla.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,7 @@ bindings:
north_echo_server:
type: echo
kind: server
telemetry:
exporters:
stdout_logs_exporter:
type: stdout
4 changes: 4 additions & 0 deletions http.echo/zilla.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,7 @@ bindings:
north_echo_server:
type: echo
kind: server
telemetry:
exporters:
stdout_logs_exporter:
type: stdout
4 changes: 4 additions & 0 deletions http.filesystem.config.server/www-updated/zilla.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,7 @@ bindings:
north_echo_server:
type: echo
kind: server
telemetry:
exporters:
stdout_logs_exporter:
type: stdout
4 changes: 4 additions & 0 deletions http.filesystem.config.server/www/zilla.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,7 @@ bindings:
north_echo_server:
type: echo
kind: server
telemetry:
exporters:
stdout_logs_exporter:
type: stdout
4 changes: 4 additions & 0 deletions http.filesystem.config.server/zilla-config/zilla.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,7 @@ bindings:
options:
location: /var/www/
symlinks: follow
telemetry:
exporters:
stdout_logs_exporter:
type: stdout
4 changes: 4 additions & 0 deletions http.filesystem/zilla.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,7 @@ bindings:
kind: server
options:
location: /var/www/
telemetry:
exporters:
stdout_logs_exporter:
type: stdout
4 changes: 4 additions & 0 deletions http.kafka.async/zilla.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,7 @@ bindings:
south_tcp_client:
type: tcp
kind: client
telemetry:
exporters:
stdout_logs_exporter:
type: stdout
4 changes: 4 additions & 0 deletions http.kafka.cache/zilla.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,3 +92,7 @@ bindings:
south_tcp_client:
type: tcp
kind: client
telemetry:
exporters:
stdout_logs_exporter:
type: stdout
4 changes: 4 additions & 0 deletions http.kafka.crud/zilla.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,3 +116,7 @@ bindings:
south_tcp_client:
type: tcp
kind: client
telemetry:
exporters:
stdout_logs_exporter:
type: stdout
4 changes: 4 additions & 0 deletions http.kafka.karapace/zilla.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -141,3 +141,7 @@ bindings:
south_tcp_client:
type: tcp
kind: client
telemetry:
exporters:
stdout_logs_exporter:
type: stdout
4 changes: 4 additions & 0 deletions http.kafka.oneway/zilla.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,7 @@ bindings:
south_tcp_client:
type: tcp
kind: client
telemetry:
exporters:
stdout_logs_exporter:
type: stdout
4 changes: 4 additions & 0 deletions http.kafka.sasl.scram/zilla.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,7 @@ bindings:
south_tcp_client:
type: tcp
kind: client
telemetry:
exporters:
stdout_logs_exporter:
type: stdout
27 changes: 15 additions & 12 deletions http.kafka.sync/zilla.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,6 @@ vaults:
store: tls/localhost.p12
type: pkcs12
password: ${{env.KEYSTORE_PASSWORD}}
telemetry:
metrics:
- stream.active.received
- stream.active.sent
- stream.opens.received
- stream.opens.sent
- stream.data.received
- stream.data.sent
- stream.errors.received
- stream.errors.sent
- stream.closes.received
- stream.closes.sent
bindings:
north_tcp_server:
type: tcp
Expand Down Expand Up @@ -118,3 +106,18 @@ bindings:
telemetry:
metrics:
- stream.*
telemetry:
metrics:
- stream.active.received
- stream.active.sent
- stream.opens.received
- stream.opens.sent
- stream.data.received
- stream.data.sent
- stream.errors.received
- stream.errors.sent
- stream.closes.received
- stream.closes.sent
exporters:
stdout_logs_exporter:
type: stdout
4 changes: 4 additions & 0 deletions http.proxy.schema.inline/zilla.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -153,3 +153,7 @@ bindings:
options:
host: nginx
port: 443
telemetry:
exporters:
stdout_logs_exporter:
type: stdout
4 changes: 4 additions & 0 deletions http.proxy/zilla.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,7 @@ bindings:
options:
host: nginx
port: 443
telemetry:
exporters:
stdout_logs_exporter:
type: stdout
4 changes: 4 additions & 0 deletions http.redpanda.sasl.scram/zilla.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,7 @@ bindings:
routes:
- when:
- cidr: 0.0.0.0/0
telemetry:
exporters:
stdout_logs_exporter:
type: stdout
46 changes: 24 additions & 22 deletions kubernetes.prometheus.autoscale/zilla.yaml
Original file line number Diff line number Diff line change
@@ -1,27 +1,5 @@
---
name: example
telemetry:
metrics:
- http.request.size
- http.response.size
- stream.active.received
- stream.active.sent
- stream.opens.received
- stream.opens.sent
- stream.data.received
- stream.data.sent
- stream.errors.received
- stream.errors.sent
- stream.closes.received
- stream.closes.sent
exporters:
prometheus_endpoint:
type: prometheus
options:
endpoints:
- scheme: http
path: /metrics
port: 7190
bindings:
north_tcp_server:
type: tcp
Expand Down Expand Up @@ -52,3 +30,27 @@ bindings:
north_echo_server:
type: echo
kind: server
telemetry:
metrics:
- http.request.size
- http.response.size
- stream.active.received
- stream.active.sent
- stream.opens.received
- stream.opens.sent
- stream.data.received
- stream.data.sent
- stream.errors.received
- stream.errors.sent
- stream.closes.received
- stream.closes.sent
exporters:
stdout_logs_exporter:
type: stdout
prometheus_endpoint:
type: prometheus
options:
endpoints:
- scheme: http
path: /metrics
port: 7190
2 changes: 1 addition & 1 deletion mqtt.kafka.asyncapi.proxy/zilla.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,5 +89,5 @@ bindings:
version: latest
telemetry:
exporters:
stdout_exporter:
stdout_logs_exporter:
type: stdout
4 changes: 4 additions & 0 deletions mqtt.kafka.broker.jwt/zilla.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,7 @@ bindings:
south_tcp_client:
type: tcp
kind: client
telemetry:
exporters:
stdout_logs_exporter:
type: stdout
4 changes: 4 additions & 0 deletions mqtt.kafka.broker/zilla.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,10 @@ bindings:
south_tcp_client:
type: tcp
kind: client
telemetry:
exporters:
stdout_logs_exporter:
type: stdout

vaults:
my_servers:
Expand Down
2 changes: 1 addition & 1 deletion mqtt.proxy.asyncapi/zilla.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ bindings:
port: ${{env.MOSQUITTO_BROKER_PORT}}
telemetry:
exporters:
stdout_exporter:
stdout_logs_exporter:
type: stdout
3 changes: 2 additions & 1 deletion openapi.proxy/zilla.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,6 @@ bindings:
- 5000
telemetry:
exporters:
stdout_exporter:
stdout_logs_exporter:
type: stdout

5 changes: 4 additions & 1 deletion quickstart/zilla.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -303,8 +303,11 @@ telemetry:
- grpc.requests.per.rpc
- grpc.responses.per.rpc

# Prometheus endpoint definition
exporters:
# Enable Standard Out logs
stdout_logs_exporter:
type: stdout
# Prometheus endpoint definition
prometheus_metric_exporter:
type: prometheus
options:
Expand Down
4 changes: 4 additions & 0 deletions sse.kafka.fanout/zilla.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,3 +110,7 @@ bindings:
south_tcp_client:
type: tcp
kind: client
telemetry:
exporters:
stdout_logs_exporter:
type: stdout
4 changes: 4 additions & 0 deletions sse.proxy.jwt/zilla.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,3 +113,7 @@ bindings:
options:
host: sse-server
port: 8001
telemetry:
exporters:
stdout_logs_exporter:
type: stdout
4 changes: 4 additions & 0 deletions tcp.echo/zilla.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ bindings:
north_echo_server:
type: echo
kind: server
telemetry:
exporters:
stdout_logs_exporter:
type: stdout
4 changes: 4 additions & 0 deletions tcp.reflect/zilla.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,7 @@ bindings:
north_echo_server:
type: echo
kind: server
telemetry:
exporters:
stdout_logs_exporter:
type: stdout
4 changes: 4 additions & 0 deletions tls.echo/zilla.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,7 @@ bindings:
north_echo_server:
type: echo
kind: server
telemetry:
exporters:
stdout_logs_exporter:
type: stdout
4 changes: 4 additions & 0 deletions tls.reflect/zilla.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,7 @@ bindings:
north_echo_server:
type: echo
kind: server
telemetry:
exporters:
stdout_logs_exporter:
type: stdout
4 changes: 4 additions & 0 deletions ws.echo/zilla.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,7 @@ bindings:
north_echo_server:
type: echo
kind: server
telemetry:
exporters:
stdout_logs_exporter:
type: stdout
4 changes: 4 additions & 0 deletions ws.reflect/zilla.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,7 @@ bindings:
north_echo_server:
type: echo
kind: server
telemetry:
exporters:
stdout_logs_exporter:
type: stdout

0 comments on commit fa590ad

Please sign in to comment.