Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manual copy of #272 to trigger jenkins build #433

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 3 additions & 20 deletions operator/components/autotracing/cluster-spans-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -205,29 +205,12 @@ data:

# Wavefront Conventions
'service': df.destination_service,
'application': df.destination_namespace,
'application': df.source_namespace,
'from_service': df.source_service,
'from_source': df.source_pod,
# We follow pixie's convention of setting an error tag only for a server span.
'error': df.error,

# OTEL HTTP Conventions
'http.status_code': df.resp_status,
'http.method': df.req_method,
},
),
px.otel.trace.Span(
name=df.req_path,
start_time=df.start_time,
end_time=df.time_,
trace_id=df.trace_id,
span_id=df.parent_span_id,
kind=px.otel.trace.SPAN_KIND_CLIENT,
attributes={
# NOTE: the integration handles splitting of services.

# Wavefront Conventions
'service': df.source_service,
'application': df.source_namespace,

# OTEL HTTP Conventions
'http.status_code': df.resp_status,
'http.method': df.req_method,
Expand Down
2 changes: 2 additions & 0 deletions operator/components/autotracing/egress-spans-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,8 @@ data:
end_time=df.time_,
trace_id=df.trace_id,
span_id=df.span_id,
# dummy parent_span_id as ebpfSampler handles both dual spans and one span version of pixie scripts by dropping the synthetic parent span
parent_span_id=df.span_id,
kind=px.otel.trace.SPAN_KIND_CLIENT,
attributes={
# NOTE: the integration handles splitting of services.
Expand Down
2 changes: 2 additions & 0 deletions operator/components/autotracing/ingress-spans-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,8 @@ data:
end_time=df.time_,
trace_id=df.trace_id,
span_id=df.span_id,
# dummy parent_span_id as ebpfSampler handles both dual spans and one span version of pixie scripts by dropping the synthetic parent span
parent_span_id=df.span_id,
kind=px.otel.trace.SPAN_KIND_SERVER,
attributes={
# NOTE: the integration handles splitting of services.
Expand Down
5 changes: 5 additions & 0 deletions operator/components/proxy/1-wavefront-proxy-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,8 @@ spec:
mountPath: /wavefront-proxy
- name: preprocessor
mountPath: /etc/wavefront/preprocessor
- name: log4j2
mountPath: /etc/wavefront/wavefront-proxy
{{- if .HttpProxy.UseHttpProxyCAcert }}
- name: http-proxy-keystores
mountPath: /tmp/secrets/keystores
Expand All @@ -195,6 +197,9 @@ spec:
- name: preprocessor
configMap:
name: operator-proxy-preprocessor-rules-config
- name: log4j2
configMap:
name: custom-proxy-log4j2
{{- if .HttpProxy.UseHttpProxyCAcert }}
- name: http-proxy-keystores
emptyDir: {}
Expand Down
2 changes: 1 addition & 1 deletion operator/config/manager/component_versions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ metadata:
data:
collector: "1.28.0"
logging: "2.1.10"
proxy: "13.3"
proxy: "13.2_20231108-144729"
25 changes: 4 additions & 21 deletions operator/hack/autoinstrumentation/cluster-spans.pxl
Original file line number Diff line number Diff line change
Expand Up @@ -195,34 +195,17 @@ px.export(

# Wavefront Conventions
'service': df.destination_service,
'application': df.destination_namespace,
'application': df.source_namespace,
'from_service': df.source_service,
'from_source': df.source_pod,
# We follow pixie's convention of setting an error tag only for a server span.
'error': df.error,

# OTEL HTTP Conventions
'http.status_code': df.resp_status,
'http.method': df.req_method,
},
),
px.otel.trace.Span(
name=df.req_path,
start_time=df.start_time,
end_time=df.time_,
trace_id=df.trace_id,
span_id=df.parent_span_id,
kind=px.otel.trace.SPAN_KIND_CLIENT,
attributes={
# NOTE: the integration handles splitting of services.

# Wavefront Conventions
'service': df.source_service,
'application': df.source_namespace,

# OTEL HTTP Conventions
'http.status_code': df.resp_status,
'http.method': df.req_method,
},
),
],
),
)
)
3 changes: 2 additions & 1 deletion operator/hack/autoinstrumentation/egress-spans.pxl
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ px.export(
end_time=df.time_,
trace_id=df.trace_id,
span_id=df.span_id,
parent_span_id=df.span_id,
kind=px.otel.trace.SPAN_KIND_CLIENT,
attributes={
# NOTE: the integration handles splitting of services.
Expand All @@ -159,4 +160,4 @@ px.export(
),
],
),
)
)
3 changes: 2 additions & 1 deletion operator/hack/autoinstrumentation/ingress-spans.pxl
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ px.export(
end_time=df.time_,
trace_id=df.trace_id,
span_id=df.span_id,
parent_span_id=df.span_id,
kind=px.otel.trace.SPAN_KIND_SERVER,
attributes={
# NOTE: the integration handles splitting of services.
Expand All @@ -159,4 +160,4 @@ px.export(
),
],
),
)
)