Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
118 commits
Select commit Hold shift + click to select a range
028ef3f
Add OTLP metrics docs
pavolloffay Jun 7, 2023
f0bc899
Review fixes
pavolloffay Jun 26, 2023
3a08adc
Fixes callouts
pavolloffay Jun 26, 2023
96fde1a
Fixes link in modules
pavolloffay Jun 26, 2023
0e3497c
Fixes link in modules
pavolloffay Jun 26, 2023
eecef45
Fix review comments
pavolloffay Jun 29, 2023
731abc5
Fix review comments
pavolloffay Jun 29, 2023
23f41ff
Fix review comments
pavolloffay Jun 29, 2023
6116840
Restructure distributed tracing
pavolloffay Jun 30, 2023
eb557d6
fix
pavolloffay Jun 30, 2023
5c8caa4
fix
pavolloffay Jun 30, 2023
ead2f84
fix
pavolloffay Jun 30, 2023
9b61377
fix
pavolloffay Jun 30, 2023
35ff70d
fix
pavolloffay Jun 30, 2023
bacb25b
fix
pavolloffay Jun 30, 2023
e417db7
fix
pavolloffay Jun 30, 2023
3b38522
fix
pavolloffay Jun 30, 2023
9eb27bb
fix
pavolloffay Jun 30, 2023
7044bb3
fix
pavolloffay Jun 30, 2023
39ec99b
Fix
pavolloffay Jul 4, 2023
4b42b84
Fix
pavolloffay Jul 4, 2023
52abb8a
Fix
pavolloffay Jul 8, 2023
e70ca38
Merge branch 'document-otel-metrics' of github.com:pavolloffay/opensh…
max-cx Jul 14, 2023
9a498fe
Merge branch 'dt-restructure' of github.com:pavolloffay/openshift-doc…
max-cx Jul 14, 2023
0dd36a1
Merge branch 'distributed-tracing-2.9' of github.com:max-cx/openshift…
max-cx Jul 14, 2023
254dfa6
initial changes to update the product versions for the distributed tr…
max-cx Jul 14, 2023
32200e2
add initial content (to be rewrriten) about removing Tempo, https://i…
max-cx Jul 18, 2023
05e8b45
add initial content (to be rewrriten) about updating Tempo, https://i…
max-cx Jul 18, 2023
b60cb17
Add OTLP metrics docs
pavolloffay Jun 7, 2023
d764c38
Review fixes
pavolloffay Jun 26, 2023
b4e5b33
Fixes callouts
pavolloffay Jun 26, 2023
2949e5d
Fixes link in modules
pavolloffay Jun 26, 2023
c162f55
Fixes link in modules
pavolloffay Jun 26, 2023
4369a88
Fix review comments
pavolloffay Jun 29, 2023
8965b5d
Fix review comments
pavolloffay Jun 29, 2023
fa7b30e
Fix review comments
pavolloffay Jun 29, 2023
ab1a037
Fix
pavolloffay Jul 8, 2023
8fca644
Restructure distributed tracing
pavolloffay Jun 30, 2023
774c156
fix
pavolloffay Jun 30, 2023
304ada9
fix
pavolloffay Jun 30, 2023
385dd98
fix
pavolloffay Jun 30, 2023
59b3ffa
fix
pavolloffay Jun 30, 2023
1a12877
fix
pavolloffay Jun 30, 2023
8a0c68c
fix
pavolloffay Jun 30, 2023
6d15f44
fix
pavolloffay Jun 30, 2023
2ca3d42
fix
pavolloffay Jun 30, 2023
fac84c3
fix
pavolloffay Jun 30, 2023
febb60f
fix
pavolloffay Jun 30, 2023
a116e62
Fix
pavolloffay Jul 4, 2023
bb0fdf0
Fix
pavolloffay Jul 4, 2023
9204dbf
initial changes to update the product versions for the distributed tr…
max-cx Jul 14, 2023
1e75fe8
add initial content (to be rewrriten) about removing Tempo, https://i…
max-cx Jul 18, 2023
643a085
add initial content (to be rewrriten) about updating Tempo, https://i…
max-cx Jul 18, 2023
bab79b0
fix a merge conflict in distr_tracing_otel/distr-tracing-otel-configu…
max-cx Jul 18, 2023
5012abc
Merge branch 'main' into distributed-tracing-2.9
max-cx Jul 18, 2023
5fc1969
add initial content (to be rewrriten) about configuring Tempo, https:…
max-cx Jul 19, 2023
e7ac36a
Merge branch 'distributed-tracing-2.9' of github.com:max-cx/openshift…
max-cx Jul 19, 2023
17f153a
add initial content (to be rewrriten) about installing Tempo, https:/…
max-cx Jul 19, 2023
2ad8580
add Tempo nav to _topic_maps/_topic_map.yml
max-cx Jul 19, 2023
9ae6fab
revert two modules that were removed by mistake
max-cx Jul 19, 2023
a09dcd6
fix duplicate anchor ID
max-cx Jul 20, 2023
83a6312
Merge branch 'openshift:main' into distributed-tracing-2.9
max-cx Jul 21, 2023
6a01ebc
transfer Ruben's Jira comment draft into this PR
max-cx Jul 24, 2023
e0271d4
Update modules/distr-tracing-tempo-install-overview.adoc
max-cx Jul 24, 2023
4b74eca
add 'platform' to ':DTProductName:' and ':DTShortName:' in common-att…
max-cx Jul 24, 2023
ee460e7
Merge branch 'distributed-tracing-2.9' of github.com:max-cx/openshift…
max-cx Jul 24, 2023
415adfc
remove product names from page names in the left nav menu in _topic_m…
max-cx Jul 24, 2023
804e3c5
transfer Israel's Jira comment draft from https://issues.redhat.com/b…
max-cx Jul 25, 2023
0ca132f
transfer Ruben's Jira comment draft from https://issues.redhat.com/br…
max-cx Jul 25, 2023
71c3cf0
Update distr_tracing/distr_tracing_tempo/distr-tracing-tempo-configur…
max-cx Jul 25, 2023
f92877d
Update _attributes/common-attributes.adoc
max-cx Jul 25, 2023
59134b5
Update _attributes/common-attributes.adoc
max-cx Jul 25, 2023
e1f473b
Update modules/distr-tracing-tempo-install-overview.adoc
max-cx Jul 25, 2023
bdc4fcc
Apply suggestions from code review
max-cx Jul 25, 2023
97afd7d
Merge branch 'main' of github.com:openshift/openshift-docs into distr…
max-cx Jul 26, 2023
29a1760
align context and id values
max-cx Jul 26, 2023
c4b30c7
attempt to restart Travis CI job
max-cx Jul 26, 2023
49d558d
Update modules/distr-tracing-tempo-install-instance.adoc
max-cx Jul 26, 2023
76805b9
Update modules/distr-tracing-otel-migrating-from-jaeger-with-sidecars…
max-cx Jul 26, 2023
23c9f12
Update modules/distr-tracing-tempo-config-storage.adoc
max-cx Jul 26, 2023
fdd7517
troubleshoot Travis CI errors
max-cx Jul 26, 2023
6aa1e03
Merge branch 'distributed-tracing-2.9' of github.com:max-cx/openshift…
max-cx Jul 26, 2023
e3afbf1
troubleshoot Travis CI errors
max-cx Jul 26, 2023
6d6ea08
Update _attributes/common-attributes.adoc
max-cx Jul 26, 2023
478d130
remove installtion option using Service Mesh from Tempo install overview
max-cx Jul 27, 2023
567b0cb
Apply suggestions from code review
max-cx Jul 27, 2023
06e0788
Apply Israel's suggestions from code review
max-cx Jul 27, 2023
ee36eeb
edit /modules/distr-tracing-tempo-install-instance.adoc
max-cx Aug 2, 2023
2bcee2a
Apply suggestions from code review
max-cx Aug 2, 2023
a1af38f
transfer two gists about web console installation and cli installatio…
max-cx Aug 3, 2023
58fbfc3
Update modules/distr-tracing-tempo-install-cli.adoc
max-cx Aug 3, 2023
97f10ec
fix alignment of included snippet
max-cx Aug 4, 2023
217b68b
fix block styles
max-cx Aug 4, 2023
3c933f8
fixes to the Tempo installation page
max-cx Aug 4, 2023
ddc7c20
fix snippet
max-cx Aug 4, 2023
39b35a0
fix includes (some toolchain issue with disabled '+'
max-cx Aug 4, 2023
b8fe605
attempt to fix the include issue with '+'
max-cx Aug 4, 2023
af310bf
add links to PR comments for the preview
max-cx Aug 4, 2023
27b2c4f
update links to PR comments
max-cx Aug 4, 2023
29e8799
add missed def. articles
max-cx Aug 4, 2023
b933865
add blank lines for release notes contributions by stakeholders
max-cx Aug 7, 2023
15df5d7
Add release notes for 2.9
pavolloffay Aug 7, 2023
4baa34e
Fix
pavolloffay Aug 8, 2023
9c43947
Fix
pavolloffay Aug 8, 2023
ca0f372
Fix
pavolloffay Aug 8, 2023
77860b4
Fix
pavolloffay Aug 8, 2023
014e882
Fix
pavolloffay Aug 9, 2023
9c00135
Fix
pavolloffay Aug 9, 2023
8c44a6b
Fix
pavolloffay Aug 9, 2023
4160c32
Fix
pavolloffay Aug 9, 2023
d09062f
Fix
pavolloffay Aug 9, 2023
7a57ed0
Fix
pavolloffay Aug 10, 2023
b5947a1
Fix
pavolloffay Aug 10, 2023
eedeaca
Fix
pavolloffay Aug 10, 2023
a1515f0
Fix
pavolloffay Aug 10, 2023
b74ecd8
Put links as comments
pavolloffay Aug 14, 2023
0baba5e
Add issue
pavolloffay Aug 14, 2023
bf6c280
Add workarond
pavolloffay Aug 14, 2023
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
21 changes: 11 additions & 10 deletions _attributes/common-attributes.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -114,18 +114,19 @@ ifdef::openshift-origin[]
:CNVSubscriptionSpecName: community-kubevirt-hyperconverged
endif::[]
//distributed tracing
:DTProductName: Red Hat OpenShift distributed tracing
:DTShortName: distributed tracing
:DTProductVersion: 2.8
:JaegerName: Red Hat OpenShift distributed tracing platform
:JaegerShortName: distributed tracing platform
:JaegerVersion: 1.42.0
:DTProductName: Red Hat OpenShift distributed tracing platform
:DTShortName: distributed tracing platform
:DTProductVersion: 2.9
:JaegerName: Red Hat OpenShift distributed tracing platform (Jaeger)
:JaegerShortName: distributed tracing platform (Jaeger)
:JaegerVersion: 1.47.0
:OTELName: Red Hat OpenShift distributed tracing data collection
:OTELShortName: distributed tracing data collection
:OTELVersion: 0.74.0
:TempoName: Tempo Operator
:TempoShortName: Tempo
:TempoVersion: 0.1.0
:OTELVersion: 0.81.0
:TempoName: Red Hat OpenShift distributed tracing platform (Tempo)
:TempoShortName: distributed tracing platform (Tempo)
:TempoOperator: Tempo Operator
:TempoVersion: 2.1.1
//logging
:logging-title: logging subsystem for Red Hat OpenShift
:logging-title-uc: Logging subsystem for Red Hat OpenShift
Expand Down
47 changes: 34 additions & 13 deletions _topic_maps/_topic_map.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3538,19 +3538,40 @@ Topics:
Topics:
- Name: Distributed tracing architecture
File: distr-tracing-architecture
- Name: Distributed tracing installation
Dir: distr_tracing_install
Topics:
- Name: Installing distributed tracing
File: distr-tracing-installing
- Name: Configuring the distributed tracing platform
File: distr-tracing-deploying-jaeger
- Name: Configuring distributed tracing data collection
File: distr-tracing-deploying-otel
- Name: Upgrading distributed tracing
File: distr-tracing-updating
- Name: Removing distributed tracing
File: distr-tracing-removing
- Name: Distributed tracing platform (Jaeger)
Dir: distr_tracing_jaeger
Topics:
- Name: Installing
File: distr-tracing-jaeger-installing
- Name: Configuring
File: distr-tracing-jaeger-configuring
- Name: Updating
File: distr-tracing-jaeger-updating
- Name: Removing
File: distr-tracing-jaeger-removing
- Name: Distributed tracing platform (Tempo)
Dir: distr_tracing_tempo
Topics:
- Name: Installing
File: distr-tracing-tempo-installing
- Name: Configuring
File: distr-tracing-tempo-configuring
- Name: Updating
File: distr-tracing-tempo-updating
- Name: Removing
File: distr-tracing-tempo-removing
- Name: Distributed tracing data collection (OpenTelemetry)
Dir: distr_tracing_otel
Topics:
- Name: Installing
File: distr-tracing-otel-installing
- Name: Configuring
File: distr-tracing-otel-configuring
- Name: Forwarding
File: distr-tracing-otel-forwarding
- Name: Migrating
File: distr-tracing-otel-migrating

---
Name: Virtualization
Dir: virt
Expand Down

This file was deleted.

1 change: 1 addition & 0 deletions distr_tracing/distr_tracing_jaeger/_attributes
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
:_content-type: ASSEMBLY
[id="distr-tracing-deploying"]
= Configuring and deploying distributed tracing
[id="distr-tracing-jaeger-configuring"]
= Configuring and deploying distributed tracing platform Jaeger
include::_attributes/common-attributes.adoc[]
:context: deploying-distr-tracing-platform
:context: distr-tracing-jaeger-configuring

toc::[]

Expand All @@ -20,7 +20,6 @@ metadata:
spec:
strategy: production <1>
----

<1> The {JaegerName} Operator currently supports the following deployment strategies:

* *allInOne* (Default) - This strategy is intended for development, testing, and demo purposes; it is not intended for production use. The main backend components, Agent, Collector, and Query service, are all packaged into a single executable which is configured, by default. to use in-memory storage.
Expand All @@ -47,7 +46,6 @@ The streaming deployment strategy is currently unsupported on {ibmzProductName}.
[NOTE]
====
There are two ways to install and use {DTProductName}, as part of a service mesh or as a stand alone component. If you have installed {DTShortName} as part of {SMProductName}, you can perform basic configuration as part of the xref:../../service_mesh/v2x/installing-ossm.adoc#installing-ossm[ServiceMeshControlPlane] but for completely control you should configure a Jaeger CR and then xref:../../service_mesh/v2x/ossm-observability.adoc#ossm-config-external-jaeger_observability[reference your distributed tracing configuration file in the ServiceMeshControlPlane].

====

include::modules/distr-tracing-deploy-default.adoc[leveloffset=+1]
Expand All @@ -74,8 +72,6 @@ include::modules/distr-tracing-config-default.adoc[leveloffset=+2]

include::modules/distr-tracing-config-jaeger-collector.adoc[leveloffset=+2]

//include::modules/distr-tracing-config-otel-collector.adoc[leveloffset=+2]

include::modules/distr-tracing-config-sampling.adoc[leveloffset=+2]

include::modules/distr-tracing-config-storage.adoc[leveloffset=+2]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
:_content-type: ASSEMBLY
[id="installing-distributed-tracing"]
= Installing distributed tracing
[id="dist-tracing-jaeger-installing"]
= Installing distributed tracing platform Jaeger
include::_attributes/common-attributes.adoc[]
:context: install-distributed-tracing
:context: dist-tracing-jaeger-installing

toc::[]

Expand Down Expand Up @@ -34,10 +34,3 @@ include::modules/distr-tracing-install-overview.adoc[leveloffset=+1]
include::modules/distr-tracing-install-elasticsearch.adoc[leveloffset=+1]

include::modules/distr-tracing-install-jaeger-operator.adoc[leveloffset=+1]

include::modules/distr-tracing-install-otel-operator.adoc[leveloffset=+1]

////
== Next steps
* xref:../../distr_tracing/distr_tracing_install/distr-tracing-deploying.adoc#deploying-distributed-tracing[Deploy {DTProductName}].
////
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
:_content-type: ASSEMBLY
[id="dist-tracing-jaeger-removing"]
= Removing distributed tracing platform Jaeger
include::_attributes/common-attributes.adoc[]
:context: dist-tracing-jaeger-removing

toc::[]

The steps for removing {DTProductName} from an {product-title} cluster are as follows:

. Shut down any {DTProductName} pods.
. Remove any {DTProductName} instances.
. Remove the {JaegerName} Operator.
. Remove the {OTELName} Operator.

include::modules/distr-tracing-removing-instance.adoc[leveloffset=+1]

include::modules/distr-tracing-removing-instance-cli.adoc[leveloffset=+1]


== Removing the {DTProductName} Operators

.Procedure

. Follow the instructions for xref:../../operators/admin/olm-deleting-operators-from-cluster.adoc#olm-deleting-operators-from-a-cluster[Deleting Operators from a cluster].

* Remove the {JaegerName} Operator.

//* Remove the {OTELName} Operator.

* After the {JaegerName} Operator has been removed, if appropriate, remove the OpenShift Elasticsearch Operator.
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
:_content-type: ASSEMBLY
[id="dist-tracing-jaeger-updating"]
= Updating distributed tracing platform Jaeger
include::_attributes/common-attributes.adoc[]
:context: dist-tracing-jaeger-updating

toc::[]

Operator Lifecycle Manager (OLM) controls the installation, upgrade, and role-based access control (RBAC) of Operators in a cluster. The OLM runs by default in {product-title}.
OLM queries for available Operators as well as upgrades for installed Operators.
For more information about how {product-title} handles upgrades, see the xref:../../operators/understanding/olm/olm-understanding-olm.adoc#olm-understanding-olm[Operator Lifecycle Manager] documentation.

During an update, the {DTProductName} Operators upgrade the managed {DTShortName} instances to the version associated with the Operator. Whenever a new version of the {JaegerName} Operator is installed, all the {JaegerShortName} application instances managed by the Operator are upgraded to the Operator's version. For example, after upgrading the Operator from 1.10 installed to 1.11, the Operator scans for running {JaegerShortName} instances and upgrades them to 1.11 as well.

For specific instructions on how to update the OpenShift Elasticsearch Operator, see xref:../../logging/cluster-logging-upgrading.adoc#cluster-logging-upgrading_cluster-logging-upgrading[Updating OpenShift Logging].

include::modules/distr-tracing-change-operator-20.adoc[leveloffset=+1]

[IMPORTANT]
====
If you have not already updated your OpenShift Elasticsearch Operator as described in xref:../../logging/cluster-logging-upgrading.adoc[Updating OpenShift Logging] complete that update before updating your {JaegerName} Operator.
====

For instructions on how to update the Operator channel, see xref:../../operators/admin/olm-upgrading-operators.adoc[Updating installed Operators].
1 change: 1 addition & 0 deletions distr_tracing/distr_tracing_jaeger/images
1 change: 1 addition & 0 deletions distr_tracing/distr_tracing_jaeger/modules
1 change: 1 addition & 0 deletions distr_tracing/distr_tracing_jaeger/snippets
1 change: 1 addition & 0 deletions distr_tracing/distr_tracing_otel/_attributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
:_content-type: ASSEMBLY
[id="distr-tracing-otel-configuring"]
= Configuring and deploying distributed tracing data collection OpenTelemetry
include::_attributes/common-attributes.adoc[]
:context: distr-tracing-otel-configuring

toc::[]

The {OTELName} Operator uses a custom resource definition (CRD) file that defines the architecture and configuration settings to be used when creating and deploying the {OTELName} resources. You can either install the default configuration or modify the file to better suit your business requirements.

include::modules/distr-tracing-config-otel-collector.adoc[leveloffset=+1]

include::modules/distr-tracing-config-otel-send-metrics-monitoring-stack.adoc[leveloffset=+1]

[role="_additional-resources"]
[id="additional-resources_deploy-otel"]
== Additional resources
* xref:../../monitoring/enabling-monitoring-for-user-defined-projects.adoc[Enabling monitoring for user-defined projects]
136 changes: 136 additions & 0 deletions distr_tracing/distr_tracing_otel/distr-tracing-otel-forwarding.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,136 @@
:_content-type: PROCEDURE
[id="distr-tracing-otel-forwarding"]
= Forwarding traces to TempoStack by using OpenTelemetry Collector
include::_attributes/common-attributes.adoc[]
:context: distr-tracing-otel-forwarding

To configure log forwarding to the TempoStack, you deploy and configure an OpenTelemetry collector.

.Prerequisites

* Tempo Operator is installed.
* TempoStack is deployed on the cluster.
* Red Hat OpenShift distributed tracing data collection operator is installed.

.Procedure

For the following steps, we will deploy an OpenTelemetry collector using the recomended processors/receivers/explorters, this example will deploy the collector in deployment mode, for other modes see the OpenTelemetry collector documentation.

. Create a service account for the OpenTelemetry collector, here is an example:
+
----
apiVersion: v1
kind: ServiceAccount
metadata:
name: otel-collector-deployment
----

. Create a cluster role, this cluster role will be associated with the service account created in the first step:
+
----
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: otel-collector
rules:
# Permissions for pods and namespaces resources are needed for the k8sattributesprocessor
# Permissions for infrastructures and infrastructures/status are needed for resourcedetectionprocessor
- apiGroups: ["", "config.openshift.io"]
resources: ["pods", "namespaces", "infrastructures", "infrastructures/status"]
verbs: ["get", "watch", "list"]
----

Some permissions are neccesary to make the `k8sattributesprocessor` and `resourcedetectionprocessor` works, and those are recomended.

. Bind the cluster role to the service account:
+
----
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: otel-collector
subjects:
- kind: ServiceAccount
name: otel-collector-deployment
namespace: otel-collector-example
roleRef:
kind: ClusterRole
name: otel-collector
apiGroup: rbac.authorization.k8s.io
----

. Create the YAML file that will define the `OpenTelemetryCollector` custom resource (CR):
+
----
apiVersion: opentelemetry.io/v1alpha1
kind: OpenTelemetryCollector
metadata:
name: otel
spec:
mode: deployment
serviceAccount: otel-collector-deployment
config: |
receivers:
jaeger:
protocols:
grpc:
thrift_binary:
thrift_compact:
thrift_http:
opencensus:
otlp:
protocols:
grpc:
http:
zipkin:
processors:
batch:
k8sattributes:
memory_limiter:
check_interval: 1s
limit_percentage: 50
spike_limit_percentage: 30
resourcedetection:
detectors: [openshift]
exporters:
otlp:
endpoint: "tempo-simplest-distributor:4317" # Endpoint for the tempo distributor.
tls:
insecure: true
service:
pipelines:
traces:
receivers: [jaeger, opencensus, otlp, zipkin]
processors: [memory_limiter, k8sattributes, resourcedetection, batch]
exporters: [otlp]
----

The collector is configured with a receiver for Jaeger traces, OpenCensus traces over the OpenCensus protocol, Zipkin traces over the Zipkin protocol and OTLP traces over the GRPC protocol. The collector exporter is configured to export OTLP, and is pointing to the tempo distributor endpoint, in this case "tempo-simplest-distributor:4317" which should be already created.

You can find more examples of how to deploy OpenTelemetry with tempo in sidecar mode and multitenant here: https://github.com/os-observability/redhat-rhosdt-samples

[TIP]
====
You can deploy the `tracegen` as a test:
----
apiVersion: batch/v1
kind: Job
metadata:
name: tracegen
spec:
template:
spec:
containers:
- name: tracegen
image: ghcr.io/open-telemetry/opentelemetry-collector-contrib/tracegen:latest
command:
- "./tracegen"
args:
- -otlp-endpoint=otel-collector:4317
- -otlp-insecure
- -duration=30s
- -workers=1
restartPolicy: Never
backoffLimit: 4
----
====
Loading