Skip to content

Commit

Permalink
docs(image optimization): optimize images for SEO (#3726)
Browse files Browse the repository at this point in the history
  • Loading branch information
adnanrahic committed Mar 14, 2024
1 parent 8375840 commit 223ae0f
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 27 deletions.
2 changes: 1 addition & 1 deletion docs/docs/concepts/ad-hoc-testing.mdx
Expand Up @@ -53,7 +53,7 @@ In Tracetest, undefined variables can be used in both the UI and CLI.

5. Now, you can create a Test Suite with the two tests - first, add the list test, then the add test, and then the list test again:

![Create Test Suite](../img/create-testsuite.png)
![Create Test Suite](https://res.cloudinary.com/djwdcmwdz/image/upload/v1710422676/docs/create-testsuite-min_jawmao.png)

6. From here you can input the values for the undefined variables and complete your trace:

Expand Down
4 changes: 2 additions & 2 deletions docs/docs/configuration/connecting-to-data-stores/tempo.mdx
Expand Up @@ -87,15 +87,15 @@ If you are using Docker and the `gRPC` endpoint like in the screenshot below, us
tempo:9095
```

![Tempo](../img/Tempo-settings.png)
![tempo grpc](https://res.cloudinary.com/djwdcmwdz/image/upload/v1710422510/docs/app.tracetest.io_organizations_ttorg_e66318ba6544b856_environments_ttenv_ad034a744607c050_settings_tab_agent_1_fc2ccz.png)

If you are using Docker and the `HTTP` URL like in the screenshot below, use the service name as the hostname with port `80` or no specified port like this:

```
http://tempo
```

![Tempo](../img/Tempo-settings.png)
![Tempo http](https://res.cloudinary.com/djwdcmwdz/image/upload/v1710422502/docs/app.tracetest.io_organizations_ttorg_e66318ba6544b856_environments_ttenv_ad034a744607c050_settings_tab_agent_gqqnjy.png)

## Connect Tracetest to Tempo with the CLI

Expand Down
Binary file removed docs/docs/configuration/img/Tempo-settings.png
Binary file not shown.
Expand Up @@ -355,11 +355,11 @@ If you edit the duration as in the Web UI example above, the test will pass!

To access a historical overview of all the trace spans the OpenTelemetry Demo generates, jump over to your Datadog account on `APM > Traces` area.

![](../img/datadog-recipe-apm-front-page.png)
![](https://res.cloudinary.com/djwdcmwdz/image/upload/v1710421967/docs/datadog-recipe-apm-front-page_nxovnx_-_Video_Thumbnail_icgttc.png)

You can also drill down into a particular trace as well.

![](../img/datadog-recipe-apm-trace-drilldown.png)
![](https://res.cloudinary.com/djwdcmwdz/image/upload/v1710421963/docs/datadog-recipe-apm-trace-drilldown_bysz3z_-_Video_Thumbnail_hbhsvs.png)

With Datadog and Tracetest, you get the best of both worlds. You can run trace-based tests and automate running E2E and integration tests against real trace data. And, use Datadog to get a historical overview of all traces your distributed application generates.

Expand Down
Binary file removed docs/docs/img/select-environment-drop-down.png
Binary file not shown.
Binary file removed docs/docs/img/undefined-variables-modal.png
Binary file not shown.
20 changes: 10 additions & 10 deletions docs/docs/web-ui/black-box-testing.mdx
Expand Up @@ -42,43 +42,43 @@ Input the **Name** and **Trigger** details for a non-instrumented service.

We are using a generic **GET** request to **google.com** in this case:

![GET Google](../img/black-box-google-0.14.png)
![GET Google](https://res.cloudinary.com/djwdcmwdz/image/upload/v1710421106/docs/black-box-google-0.14_kzqzyn.png)

Click **Run**:

![Run Test](../img/black-box-google-run-0.14.png)
![Run Test](https://res.cloudinary.com/djwdcmwdz/image/upload/v1710421107/docs/black-box-google-run-0.14_wymqzx.png)

The test will start:

![Trigger Response](../img/black-box-google-response-0.14.png)
![Trigger Response](https://res.cloudinary.com/djwdcmwdz/image/upload/v1710421111/docs/black-box-google-response-0.14_hgdrau.png)

After a few seconds, the skip **awaiting trace** popup will show up:

![Skip Trace Collection Popup](../img/black-box-popup-0.14.png)
![Skip Trace Collection Popup](https://res.cloudinary.com/djwdcmwdz/image/upload/v1710421107/docs/black-box-popup-0.14_uaylpf.png)

Click, the **Skip awaiting trace** button:

![Skip Trace Collection Click](../img/black-box-popup-click-0.14.png)
![Skip Trace Collection Click](https://res.cloudinary.com/djwdcmwdz/image/upload/v1710421108/docs/black-box-popup-click-0.14_egcqpx.png)

The Run will complete, showing the **Tracetest trigger** root span:

![Tracetest Trigger Span](../img/black-box-test-tab-0.14.png)
![Tracetest Trigger Span](https://res.cloudinary.com/djwdcmwdz/image/upload/v1710421107/docs/black-box-test-tab-0.14_zcjq4k.png)

Create a **Test Spec** from the **Tracetest Trigger** span:

![Create Test Spec](../img/black-box-create-spec-0.14.gif)
![Create Test Spec](https://res.cloudinary.com/djwdcmwdz/image/upload/v1710421655/docs/black-box-create-spec-0.14_ffvmaf-ezgif.com-optimize_u7hwnf.gif)

To have test runs always skip the **awaiting trace** step, go to the settings tab under the trigger section:

![Trigger Settings](../img/black-box-settings-0.14.png)
![Trigger Settings](https://res.cloudinary.com/djwdcmwdz/image/upload/v1710421108/docs/black-box-settings-0.14_eczjle.png)

And, enable the **Skip Trace collection** option:

![Skip Trace Collection Setting](../img/black-box-skip-settings-0.14.png)
![Skip Trace Collection Setting](https://res.cloudinary.com/djwdcmwdz/image/upload/v1710421109/docs/black-box-skip-settings-0.14_lg4wfp.png)

Then click **Run** to save the changes:

![Skip Trace Collection Setting Run](../img/black-box-skip-settings-run-0.14.png)
![Skip Trace Collection Setting Run](https://res.cloudinary.com/djwdcmwdz/image/upload/v1710421110/docs/black-box-skip-settings-run-0.14_geyzjt.png)

Please visit the [Test Results](/web-ui/test-results) document for an explanation of viewing the results of a test.

Expand Down
11 changes: 1 addition & 10 deletions docs/docs/web-ui/test-results.mdx
Expand Up @@ -18,7 +18,7 @@ From the **All Tests** screen, you can access all your existing tests, create ne

CLick on the settings icon to the right of each test. You can delete the test from here:

![Tests Actions](../img/tests-actions-0.11.png)
![Tests Actions](https://res.cloudinary.com/djwdcmwdz/image/upload/v1710422230/docs/tests-actions-0.11_ego0bo-min_kne8wo.png)

Click on the arrow next to the test name and the list of test runs will appear:

Expand Down Expand Up @@ -55,12 +55,3 @@ The following shows the test in the **Timeline View**:
Click on the **Test** tab to see the details of Test Specs and Assertions for the test:

![Test Tab](../img/test-tab-0.11.png)

<!-- The test results include:

- A diagram of the trace steps that can be viewed in diagram or timeline form by toggling the icons at the top left of the image below. This panel also contains a **search** field which can be useful when working with large diagrams and timelines.
![Trace Diagram](../img/trace-diagram-mvp.png)
![Trace Timeline](../img/trace-timeline-mvp.png)

- The span details of the trace:
![Span Details](../img/span-details-mvp.gif) -->
4 changes: 2 additions & 2 deletions docs/docs/web-ui/undefined-variables.mdx
Expand Up @@ -14,11 +14,11 @@ image: https://res.cloudinary.com/djwdcmwdz/image/upload/v1698686403/docs/Blog_T

When a user runs a Test or a Test Suite, any variables that will be needed but are not defined will be prompted for:

![Undefined Variables Modal](../img/undefined-variables-modal.png)
![Undefined Variables Modal](https://res.cloudinary.com/djwdcmwdz/image/upload/v1710419825/docs/undefined-variables-modal-b589b034b7a4cdf6132ab49f8ee3ccab_1_dt5c3v.png)

Undefined variables are dependent on the environment selected and whether or not the variable is defined in the current environment. Select the environment to run the Test or Test Suite in from the dropdown list at the top right of the page:

![Select Environment Drop Down](../img/select-environment-drop-down.png)
![Select Environment Drop Down](https://res.cloudinary.com/djwdcmwdz/image/upload/v1710419827/docs/select-environment-drop-down-f4376ade8720811cc9ead8e90379a3b1_korbfs.png)

:::tip
[Check out use-cases for using undefined variables here.](/concepts/ad-hoc-testing)
Expand Down

0 comments on commit 223ae0f

Please sign in to comment.