Skip to content

Commit

Permalink
docs(saas): add orgs and envs in concepts (#3239)
Browse files Browse the repository at this point in the history
* docs(redirects): fix broken links

* docs(concepts): add envs and orgs

* Apply suggestions from code review

Co-authored-by: Julianne Fermi <julianne@kubeshop.io>

---------

Co-authored-by: Julianne Fermi <julianne@kubeshop.io>
  • Loading branch information
adnanrahic and jfermi committed Oct 12, 2023
1 parent ad07ca4 commit b0a0672
Show file tree
Hide file tree
Showing 4 changed files with 102 additions and 4 deletions.
25 changes: 25 additions & 0 deletions docs/docs/concepts/environments.mdx
@@ -0,0 +1,25 @@
---
id: environments
title: Environments
description: Tracetest allows you to quickly build integration and end-to-end tests, powered by your OpenTelemetry traces.
hide_table_of_contents: false
keywords:
- tracetest
- trace-based testing
- observability
- distributed tracing
- testing
image: https://res.cloudinary.com/djwdcmwdz/image/upload/v1689693872/docs/Blog_Thumbnail_28_ugy2yy.png
---

Environments are workspaces where you keep tests, test suites, variable sets, and all other Tracetest resources.

![](https://res.cloudinary.com/djwdcmwdz/image/upload/v1697028288/docs/app.tracetest.io_organizations_ttorg_7e8e767d64dbdb25_environments_ttenv_a39dc7d303f25454_settings_iebfhs.png)

Connect an Agent and/or Trace Data Store to an environment to start creating tests.

You get a `localMode` environment by default. This environment is dedicated to your local development environment for you to play around with while developing your apps.

Create additional environments by clicking the `+ Create a New Environment` button.

Additional environments can be shared between team members, or used as dedicated environments for QA, staging, test, production, or any other shared environment of your choosing.
38 changes: 38 additions & 0 deletions docs/docs/concepts/organizations.mdx
@@ -0,0 +1,38 @@
---
id: organizations
title: Organizations
description: Tracetest allows you to quickly build integration and end-to-end tests, powered by your OpenTelemetry traces.
hide_table_of_contents: false
keywords:
- tracetest
- trace-based testing
- observability
- distributed tracing
- testing
image: https://res.cloudinary.com/djwdcmwdz/image/upload/v1689693872/docs/Blog_Thumbnail_28_ugy2yy.png
---

Organizations contain a collection of environments, team members, and settings.

When signing up to Tracetest you get a `personal-org` by default. You can create additional organizations by clicking the organization dropdown and selecting `+ Create a New Organization`.

![](https://res.cloudinary.com/djwdcmwdz/image/upload/v1697025940/docs/app.tracetest.io_organizations_ttorg_7e8e767d64dbdb25_environments_n6xnhh.png)


To manage environments in the currect organization, navigate to the `Environments` tab.

![](https://res.cloudinary.com/djwdcmwdz/image/upload/v1697026127/docs/app.tracetest.io_organizations_ttorg_7e8e767d64dbdb25_environments_ttenv_a39dc7d303f25454_settings_tab_agent_jjgvle.png)

You can edit or delete existing environments and create new environments.

To edit the currect organization settings, select the `Settings` tab.

![](https://res.cloudinary.com/djwdcmwdz/image/upload/v1697026240/docs/app.tracetest.io_organizations_ttorg_7e8e767d64dbdb25_environments_ttenv_a39dc7d303f25454_settings_tab_agent_1_m0mbn1.png)

Here you can delete the organization if you have the required permissions.

To manage team members and permissions, navigate to the `Members` tab.

Here you can add new team members to the organization and manage their permissions.

![](https://res.cloudinary.com/djwdcmwdz/image/upload/v1697026707/docs/app.tracetest.io_organizations_ttorg_7e8e767d64dbdb25_environments_ttenv_a39dc7d303f25454_settings_tab_agent_2_cy5wha.png)
33 changes: 29 additions & 4 deletions docs/docusaurus.config.js
Expand Up @@ -131,7 +131,11 @@ const config = {
},
{
to: '/getting-started/installation',
from: ['/getting-started/cli', '/getting-started/detailed-installation' /*, '/docs/legacyDocFrom2016'*/],
from: ['/getting-started/cli', '/getting-started/detailed-installation', '/installing' /*, '/docs/legacyDocFrom2016'*/],
},
{
to: '/getting-started/open',
from: ['/accessing-dashboard' /*, '/docs/legacyDocFrom2016'*/],
},
{
to: '/configuration/overview',
Expand All @@ -155,7 +159,7 @@ const config = {
},
{
to: '/cli/creating-tests',
from: ['/cli/test-definition-file' /*, '/docs/legacyDocFrom2016'*/],
from: ['/cli/test-definition-file', '/test-definition-file' /*, '/docs/legacyDocFrom2016'*/],
},
{
to: '/cli/configuring-your-cli/',
Expand Down Expand Up @@ -206,8 +210,16 @@ const config = {
from: ['/web-ui/creating-transactions'],
},
{
to: '/getting-started/installation',
from: ['/installing'],
to: '/web-ui/creating-tests',
from: ['/create-test'],
},
{
to: '/web-ui/creating-test-specifications',
from: ['/adding-assertions'],
},
{
to: '/web-ui/test-results',
from: ['/test-results'],
},
// SaaS to Core
{
Expand All @@ -230,6 +242,19 @@ const config = {
to: '/core/configuration/upgrade',
from: ['/configuration/upgrade'],
},
// Live Examples
{
to: '/live-examples/pokeshop/use-cases/add-pokemon',
from: ['/pokeshop/add-pokemon/'],
},
{
to: '/live-examples/pokeshop/use-cases/import-pokemon',
from: ['/pokeshop/import-pokemon/'],
},
{
to: '/live-examples/pokeshop/overview',
from: ['/pokeshop'],
},
],
// createRedirects(existingPath) {
// if (existingPath.includes('/community')) {
Expand Down
10 changes: 10 additions & 0 deletions docs/sidebars.js
Expand Up @@ -605,6 +605,16 @@ const sidebars = {
id: "concepts/architecture",
label: "Architecture",
},
{
type: "doc",
id: "concepts/organizations",
label: "Organizations",
},
{
type: "doc",
id: "concepts/environments",
label: "Environments",
},
{
type: "doc",
id: "concepts/assertions",
Expand Down

0 comments on commit b0a0672

Please sign in to comment.