Skip to content

Commit 64eddc5

Browse files
authored
Remove copied references from Beyla about Beyla (#1305)
* Remove copied references from Beyla * Make CloudHostID public * Change CloudHostIDKey from const to var in export/otel
1 parent e064737 commit 64eddc5

File tree

147 files changed

+227
-237
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

147 files changed

+227
-237
lines changed

bpf/generictracer/protocol_http.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ http_get_or_create_trace_info(http_connection_metadata_t *meta,
130130

131131
u8 skip_tp_parsing = 0;
132132

133-
// If we receive SSL request, we know that Beyla definitely didn't
133+
// If we receive SSL request, we know that OBI definitely didn't
134134
// inject the traceparent via the header, so if we already have
135135
// info about this transaction keep that, don't parse headers. Istio
136136
// for example can forward headers as-is, which can give us a stale

bpf/netolly/flow.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ typedef struct flow_metrics_t {
6464
} flow_metrics;
6565

6666
// Attributes that uniquely identify a flow
67-
// TODO: remove attributes that won't be used in Beyla (e.g. MAC, maybe protocol...)
67+
// TODO: remove attributes that won't be used in OBI (e.g. MAC, maybe protocol...)
6868
typedef struct flow_id_t {
6969
// L3 network layer
7070
// IPv4 addresses are encoded as IPv6 addresses with prefix ::ffff/96

bpf/netolly/flows_common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ static inline u8 fill_conn_initiator_key(flow_id *id, conn_initiator_key *key) {
125125
}
126126

127127
// returns INITIATOR_SRC or INITIATOR_DST, but might return INITIATOR_UNKNOWN
128-
// if the connection initiator couldn't be found. The user-space Beyla pipeline
128+
// if the connection initiator couldn't be found. The user-space OBI pipeline
129129
// will handle this last case heuristically
130130
static inline u8 get_connection_initiator(flow_id *id, u16 flags) {
131131
conn_initiator_key initiator_key;

contrib/beyla@.service

Lines changed: 0 additions & 17 deletions
This file was deleted.

contrib/example-service.env

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1-
GRAFANA_CLOUD_API_KEY="<MY-CLOUD-API-KEY>"
1+
# Example environment variables for OBI
2+
# Configure OTLP endpoint for your cloud provider
3+
# OTEL_EXPORTER_OTLP_ENDPOINT="<YOUR-OTLP-ENDPOINT>"
4+
# OTEL_EXPORTER_OTLP_HEADERS="Authorization=Bearer <YOUR-API-KEY>"

contrib/obi@.service

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
[Unit]
2+
Description=Run the OBI application for a given application
3+
After=network.target
4+
5+
[Service]
6+
Type = simple
7+
Restart = always
8+
User = root
9+
Group = root
10+
WorkingDirectory = /etc/obi
11+
EnvironmentFile = /etc/obi/%i.env
12+
ExecStart=
13+
ExecStart=/usr/local/bin/obi \
14+
--config=/etc/obi/%i.yaml
15+
16+
[Install]
17+
WantedBy = multi-user.target

internal/test/integration/docker-compose-1.16.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ services:
2020
volumes:
2121
- ./configs/:/configs
2222
- ../../../testoutput:/coverage
23-
- ../../../testoutput/run-1.16:/var/run/beyla
23+
- ../../../testoutput/run-1.16:/var/run/obi
2424
image: hatest-obi
2525
privileged: true # in some environments (not GH Pull Requests) you can set it to false and then cap_add: [ SYS_ADMIN ]
2626
pid: "service:testserver"

internal/test/integration/docker-compose-1.17.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ services:
2626
volumes:
2727
- ./configs/:/configs
2828
- ../../../testoutput:/coverage
29-
- ../../../testoutput/run-1.17:/var/run/beyla
29+
- ../../../testoutput/run-1.17:/var/run/obi
3030
image: hatest-obi
3131
privileged: true # in some environments (not GH Pull Requests) you can set it to false and then cap_add: [ SYS_ADMIN ]
3232
pid: "service:testserver"

internal/test/integration/docker-compose-client.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ services:
1919
- ./configs/:/configs
2020
- ./system/sys/kernel/security:/sys/kernel/security
2121
- ../../../testoutput:/coverage
22-
- ../../../testoutput/run-client:/var/run/beyla
22+
- ../../../testoutput/run-client:/var/run/obi
2323
image: hatest-obi
2424
privileged: true # in some environments (not GH Pull Requests) you can set it to false and then cap_add: [ SYS_ADMIN ]
2525
pid: "service:testserver"

internal/test/integration/docker-compose-container-metadata.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ services:
2020
- ./configs/:/configs
2121
- ./system/sys/kernel/security${SECURITY_CONFIG_SUFFIX}:/sys/kernel/security
2222
- ../../../testoutput:/coverage
23-
- ../../../testoutput/run-base${TESTSERVER_DOCKERFILE_SUFFIX}:/var/run/beyla
23+
- ../../../testoutput/run-base${TESTSERVER_DOCKERFILE_SUFFIX}:/var/run/obi
2424
# required for docker metadata decoration
2525
- /var/run/docker.sock:/var/run/docker.sock
2626
image: hatest-obi

0 commit comments

Comments
 (0)