snapshot of https://github.com/RocketChat/Rocket.Chat.git (develop, 2026-09-16; blobs > 131072B omitted)
Some checks failed
Create issues from TODOs / todos (push) Failing after 3s
Close inactive issues / close-issues (push) Has been cancelled
Deploy GitHub Pages / deploy-preview (push) Has been cancelled
CI / ⚙️ Variables Setup (push) Has been cancelled
CI / ⚙️ Test Guard (push) Has been cancelled
CI / 🚀 Notify external services - draft (push) Has been cancelled
CI / 📦 Build Packages (push) Has been cancelled
CI / 📦 Meteor Build (coverage) (push) Has been cancelled
CI / 📦 Meteor Build (production) (push) Has been cancelled
CI / 🚢 Build Docker (amd64, [account-service presence-service omnichannel-transcript-service], ${{ (github.event_name != 'release' && github.ref != 'refs/heads/develop') && 'coverage' || 'production' }}) (push) Has been cancelled
CI / 🚢 Build Docker (amd64, [account-service presence-service omnichannel-transcript-service], fips) (push) Has been cancelled
CI / 🚢 Build Docker (amd64, [authorization-service queue-worker-service ddp-streamer-service], ${{ (github.event_name != 'release' && github.ref != 'refs/heads/develop') && 'coverage' || 'production' }}) (push) Has been cancelled
CI / 🚢 Build Docker (amd64, [authorization-service queue-worker-service ddp-streamer-service], fips) (push) Has been cancelled
CI / 🚢 Build Docker (amd64, [rocketchat], ${{ (github.event_name != 'release' && github.ref != 'refs/heads/develop') && 'coverage' || 'production' }}) (push) Has been cancelled
CI / 🚢 Build Docker (amd64, [rocketchat], coverage) (push) Has been cancelled
CI / 🚢 Build Docker (amd64, [rocketchat], fips) (push) Has been cancelled
CI / 🚢 Build Docker (arm64, [account-service presence-service omnichannel-transcript-service], ${{ (github.event_name != 'release' && github.ref != 'refs/heads/develop') && 'coverage' || 'production' }}) (push) Has been cancelled
CI / 🚢 Build Docker (arm64, [authorization-service queue-worker-service ddp-streamer-service], ${{ (github.event_name != 'release' && github.ref != 'refs/heads/develop') && 'coverage' || 'production' }}) (push) Has been cancelled
CI / 🚢 Build Docker (arm64, [rocketchat], ${{ (github.event_name != 'release' && github.ref != 'refs/heads/develop') && 'coverage' || 'production' }}) (push) Has been cancelled
CI / 🚢 Build Docker (arm64, [rocketchat], coverage) (push) Has been cancelled
CI / 🚢 Publish Docker Images (ghcr.io) (push) Has been cancelled
CI / 📦 Track Image Sizes (push) Has been cancelled
CI / 🔎 Code Check - Action Lint (push) Has been cancelled
CI / 🔎 Code Check (push) Has been cancelled
CI / 🔨 Test Storybook (push) Has been cancelled
CI / 🔨 Test Unit (push) Has been cancelled
CI / 🔨 Test API (CE) (push) Has been cancelled
CI / 🔨 Test API Livechat (CE) (push) Has been cancelled
CI / 🔨 Test UI (CE) (push) Has been cancelled
CI / 🔨 Test API (EE) (push) Has been cancelled
CI / 🔨 Test API Livechat (EE) (push) Has been cancelled
CI / 🔨 Test API Apps (deno-runtime - EE) (push) Has been cancelled
CI / 🔨 Test UI (EE) (push) Has been cancelled
CI / 🔨 Test API (FIPS) (push) Has been cancelled
CI / 🔨 Test API Livechat (FIPS) (push) Has been cancelled
CI / 🔨 Test UI (FIPS) (push) Has been cancelled
CI / 🔨 Test Federation Matrix (push) Has been cancelled
CI / 📊 Report Coverage (push) Has been cancelled
CI / ✅ Tests Done (push) Has been cancelled
CI / 🚀 Publish build assets (push) Has been cancelled
CI / 🚀 Publish Docker Images (DockerHub) (push) Has been cancelled
CI / 🚀 Notify external services (push) Has been cancelled
CI / Update Version Durability (push) Has been cancelled
Release / Release (push) Has been cancelled
Auto-close duplicate issues / auto-close-duplicates (push) Failing after 1s
Code scanning - action / CodeQL-Build (push) Failing after 2s

This commit is contained in:
upstream-mirror
2026-09-16 01:21:02 +05:00
commit 30810eecd7
10161 changed files with 987110 additions and 0 deletions

16
development/agent.yml Normal file
View File

@@ -0,0 +1,16 @@
server:
log_level: debug
traces:
configs:
- name: default
receivers:
otlp:
protocols:
grpc:
remote_write:
- endpoint: tempo:4317
insecure: true
batch:
timeout: 5s
send_batch_size: 100

View File

@@ -0,0 +1,24 @@
receivers:
otlp:
protocols:
grpc:
http:
processors:
batch:
timeout: 100ms
exporters:
logging:
loglevel: debug
otlp/1:
endpoint: tempo:4317
tls:
insecure: true
service:
pipelines:
traces:
receivers: [otlp]
processors: [batch]
exporters: [otlp/1]

View File

@@ -0,0 +1,79 @@
services:
# Tempo runs as user 10001, and docker compose creates the volume as root.
# As such, we need to chown the volume in order for Tempo to start correctly.
init:
image: &tempoImage grafana/tempo:2.6.1
user: root
entrypoint:
- 'chown'
- '10001:10001'
- '/var/tempo'
volumes:
- ./tempo-data:/var/tempo
tempo:
image: *tempoImage
command: ['-config.file=/etc/tempo.yaml']
volumes:
- ./tempo.yml:/etc/tempo.yaml
- ./tempo-data:/var/tempo
ports:
- '14268' # jaeger ingest
- '3200' # tempo
- '4317' # otlp grpc
- '4318' # otlp http
- '9411' # zipkin2024-04-23T16:16:57+0000
depends_on:
- init
# # Generate fake traces...
# k6-tracing:
# image: ghcr.io/grafana/xk6-client-tracing:v0.0.5
# environment:
# - ENDPOINT=agent:4317
# restart: always
# depends_on:
# - tempo
otel-collector:
image: otel/opentelemetry-collector-contrib:0.100.0
command:
- '--config'
- '/otel-local-config.yaml'
volumes:
- ./collector.config.yml:/otel-local-config.yaml
ports:
- '4317:4317'
# And put them in a Grafana Agent pipeline...
agent:
image: grafana/agent:v0.27.1
volumes:
- ./agent.yml:/etc/agent.yaml
entrypoint:
- /bin/agent
- -config.file=/etc/agent.yaml
prometheus:
image: prom/prometheus:latest
command:
- --config.file=/etc/prometheus.yaml
- --web.enable-remote-write-receiver
- --enable-feature=exemplar-storage
- --enable-feature=native-histograms
volumes:
- ./prometheus.yml:/etc/prometheus.yaml
ports:
- '9090:9090'
grafana:
image: grafana/grafana:11.0.0
volumes:
- ./grafana-datasources.yml:/etc/grafana/provisioning/datasources/datasources.yaml
environment:
- GF_AUTH_ANONYMOUS_ENABLED=true
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
- GF_AUTH_DISABLE_LOGIN_FORM=true
- GF_FEATURE_TOGGLES_ENABLE=traceqlEditor
ports:
- '4001:3000'

View File

@@ -0,0 +1,30 @@
apiVersion: 1
datasources:
- name: Prometheus
type: prometheus
uid: prometheus
access: proxy
orgId: 1
url: http://prometheus:9090
basicAuth: false
isDefault: false
version: 1
editable: false
jsonData:
httpMethod: GET
- name: Tempo
type: tempo
access: proxy
orgId: 1
url: http://tempo:3200
basicAuth: false
isDefault: true
version: 1
editable: false
apiVersion: 1
uid: tempo
jsonData:
httpMethod: GET
serviceMap:
datasourceUid: prometheus

View File

@@ -0,0 +1,204 @@
version: 1
dn: dc=space,dc=air
objectClass: dcObject
objectClass: organization
objectClass: top
dc: space
o: spaceair
dn: ou=users,dc=space,dc=air
objectClass: organizationalUnit
objectClass: top
ou: users
dn: ou=others,dc=space,dc=air
objectClass: organizationalUnit
objectClass: top
ou: others
dn: cn=astronauts,dc=space,dc=air
objectClass: groupOfNames
objectClass: top
cn: astronauts
member: uid=alan.bean,ou=users,dc=space,dc=air
member: uid=buzz.aldrin,ou=users,dc=space,dc=air
member: uid=david.scott,ou=users,dc=space,dc=air
member: uid=gene.cernan,ou=users,dc=space,dc=air
member: uid=john.young,ou=users,dc=space,dc=air
dn: cn=cosmonauts,dc=space,dc=air
objectClass: groupOfNames
objectClass: top
cn: cosmonauts
member: uid=sergei.krikalev,ou=users,dc=space,dc=air
member: uid=yuri.romanenko,ou=users,dc=space,dc=air
dn: uid=alan.bean,ou=users,dc=space,dc=air
objectClass: inetOrgPerson
objectClass: organizationalPerson
objectClass: person
objectClass: top
cn: Alan Bean
sn: Alan
mail: alan.bean@space.air
uid: alan.bean
destinationIndicator: Canada
employeeType: fulltime
departmentNumber: navControl
userPassword:: e1NIQTI1Nn1sMzlna05QRUU1U29aaGhyRHo1VmVqVGpXMVJ6MHNNOTdjSGpsN
1RaVHZJPQ==
dn: uid=john.young,ou=users,dc=space,dc=air
objectClass: inetOrgPerson
objectClass: organizationalPerson
objectClass: person
objectClass: top
cn: John Young
sn: John
mail: john.young@space.air
uid: john.young
destinationIndicator: Brazil
employeeType: parttime
departmentNumber: flightOps
departmentNumber: flightOps2
telephoneNumber: +1-555-0102
telephoneNumber: +1-555-0103
telephoneNumber: +1-555-0104
userPassword:: e1NIQTI1Nn1sMzlna05QRUU1U29aaGhyRHo1VmVqVGpXMVJ6MHNNOTdjSGpsN
1RaVHZJPQ==
dn: uid=buzz.aldrin,ou=users,dc=space,dc=air
objectClass: inetOrgPerson
objectClass: organizationalPerson
objectClass: person
objectClass: top
cn: Buzz Aldrin
sn: Buzz
mail: buzz.aldrin@space.air
uid: buzz.aldrin
destinationIndicator: Japan
employeeType: contractor
departmentNumber: propulsion
userPassword:: e1NIQTI1Nn1sMzlna05QRUU1U29aaGhyRHo1VmVqVGpXMVJ6MHNNOTdjSGpsN
1RaVHZJPQ==
dn: uid=david.scott,ou=users,dc=space,dc=air
objectClass: inetOrgPerson
objectClass: organizationalPerson
objectClass: person
objectClass: top
cn: David Scott
sn: David
mail: david.scott@space.air
uid: david.scott
destinationIndicator: Germany
employeeType: intern
departmentNumber: lifeSupport
userPassword:: e1NIQTI1Nn1sMzlna05QRUU1U29aaGhyRHo1VmVqVGpXMVJ6MHNNOTdjSGpsN
1RaVHZJPQ==
dn: uid=gene.cernan,ou=users,dc=space,dc=air
objectClass: inetOrgPerson
objectClass: organizationalPerson
objectClass: person
objectClass: top
cn: Gene Cernan
sn: Gene
mail: gene.cernan@space.air
uid: gene.cernan
destinationIndicator: Kenya
employeeType: consultant
departmentNumber: geoScience
userPassword:: e1NIQTI1Nn1sMzlna05QRUU1U29aaGhyRHo1VmVqVGpXMVJ6MHNNOTdjSGpsN
1RaVHZJPQ==
dn: uid=james.irwin,ou=users,dc=space,dc=air
objectClass: inetOrgPerson
objectClass: organizationalPerson
objectClass: person
objectClass: top
cn: James Irwin
sn: James
mail: james.irwin@space.air
uid: james.irwin
destinationIndicator: Norway
employeeType: seasonal
departmentNumber: dataSystems
userPassword:: e1NIQTI1Nn1sMzlna05QRUU1U29aaGhyRHo1VmVqVGpXMVJ6MHNNOTdjSGpsN
1RaVHZJPQ==
dn: uid=neil.armstrong,ou=users,dc=space,dc=air
objectClass: inetOrgPerson
objectClass: organizationalPerson
objectClass: person
objectClass: top
cn: Neil Armstrong
sn: Neil
mail: neil.armstrong@space.air
uid: neil.armstrong
destinationIndicator: Finland
employeeType: parttime
departmentNumber: flightOps2
userPassword:: e1NIQTI1Nn1sMzlna05QRUU1U29aaGhyRHo1VmVqVGpXMVJ6MHNNOTdjSGpsN
1RaVHZJPQ==
dn: uid=yuri.romanenko,ou=users,dc=space,dc=air
objectClass: inetOrgPerson
objectClass: organizationalPerson
objectClass: person
objectClass: top
cn: Yuri Romanenko
sn: Yuri
mail: yuri.romanenko@space.air
uid: yuri.romanenko
destinationIndicator: Mexico
employeeType: contractor
departmentNumber: propulsion2
userPassword:: e1NIQTI1Nn1sMzlna05QRUU1U29aaGhyRHo1VmVqVGpXMVJ6MHNNOTdjSGpsN
1RaVHZJPQ==
dn: uid=sergei.krikalev,ou=users,dc=space,dc=air
objectClass: inetOrgPerson
objectClass: organizationalPerson
objectClass: person
objectClass: top
cn: Sergei Krikalev
sn: Sergei
mail: sergei.krikalev@space.air
uid: sergei.krikalev
destinationIndicator: Italy
employeeType: intern
departmentNumber: lifeSupport2
userPassword:: e1NIQTI1Nn1sMzlna05QRUU1U29aaGhyRHo1VmVqVGpXMVJ6MHNNOTdjSGpsN
1RaVHZJPQ==
dn: uid=userwithnoemail,ou=users,dc=space,dc=air
objectClass: inetOrgPerson
objectClass: organizationalPerson
objectClass: person
objectClass: top
cn: User With No Email
sn: NoEmail
uid: userwithnoemail
destinationIndicator: Portugal
employeeType: consultant
departmentNumber: geoScience2
userPassword:: e1NIQTI1Nn1sMzlna05QRUU1U29aaGhyRHo1VmVqVGpXMVJ6MHNNOTdjSGpsN
1RaVHZJPQ==

View File

@@ -0,0 +1,11 @@
global:
scrape_interval: 15s
evaluation_interval: 15s
scrape_configs:
- job_name: 'prometheus'
static_configs:
- targets: [ 'localhost:9090' ]
- job_name: 'tempo'
static_configs:
- targets: [ 'tempo:3200' ]

60
development/tempo.yml Normal file
View File

@@ -0,0 +1,60 @@
stream_over_http_enabled: true
server:
http_listen_port: 3200
log_level: info
query_frontend:
search:
duration_slo: 5s
throughput_bytes_slo: 1.073741824e+09
trace_by_id:
duration_slo: 5s
distributor:
receivers: # this configuration will listen on all ports and protocols that tempo is capable of.
jaeger: # the receives all come from the OpenTelemetry collector. more configuration information can
protocols: # be found there: https://github.com/open-telemetry/opentelemetry-collector/tree/main/receiver
thrift_http: #
grpc: # for a production deployment you should only enable the receivers you need!
thrift_binary:
thrift_compact:
zipkin:
otlp:
protocols:
http:
grpc:
opencensus:
ingester:
max_block_duration: 5m # cut the headblock when this much time passes. this is being set for demo purposes and should probably be left alone normally
compactor:
compaction:
block_retention: 1h # overall Tempo trace retention. set for demo purposes
metrics_generator:
registry:
external_labels:
source: tempo
cluster: docker-compose
storage:
path: /var/tempo/generator/wal
remote_write:
- url: http://prometheus:9090/api/v1/write
send_exemplars: true
traces_storage:
path: /var/tempo/generator/traces
storage:
trace:
backend: local # backend configuration to use
wal:
path: /var/tempo/wal # where to store the wal locally
local:
path: /var/tempo/blocks
overrides:
defaults:
metrics_generator:
processors: [service-graphs, span-metrics, local-blocks] # enables metrics generator
generate_native_histograms: both