Skip to content

Commit

Permalink
Fixing issues for this PR, remaining issues to be resolved in next PR
Browse files Browse the repository at this point in the history
  • Loading branch information
marcleblanc2 committed Dec 17, 2024
1 parent 1576b50 commit f456ca4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/admin/deploy/docker-compose/operations.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ docker exec -it codeinsights-db psql -U postgres #access codeinsights-db contain

The `frontend` container in the `docker-compose.yaml` file will automatically run on startup and migrate the databases if any changes are required, however administrators may wish to migrate their databases before upgrading the rest of the system when working with large databases. Sourcegraph guarantees database backward compatibility to the most recent minor point release so the database can safely be upgraded before the application code.

To execute the database migrations independently, follow the [docker-compose instructions on how to manually run database migrations](/admin/updates/migrator/migrator-operations#docker-compose). Running the `up` (default) command on the `migrator` of the *version you are upgrading to* will apply all migrations required by that version of Sourcegraph.
To execute the database migrations independently, follow the [docker-compose instructions on how to manually run database migrations](/admin/updates/migrator/migrator-operations#docker-compose). Running the `up` (default) command on the `migrator` of the *version you are upgrading to* will apply all migrations required by the next version of Sourcegraph.

## Backup and restore

Expand Down
8 changes: 5 additions & 3 deletions docs/admin/deploy/kubernetes/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -360,17 +360,19 @@ jaeger:

#### Configure OpenTelemetry Collector to use an external tracing backend

To configure the bundled otel-collector to export traces to an external OTel-compatible backend, you you can customize the otel-collector's config file directly in your Helm values `override.yaml` file:
To configure the bundled otel-collector to export traces to an external OTel-compatible backend, you you can customize the otel-collector's config file directly in your Helm values `override.yaml` file.

For the specific configurations to set, see our [OpenTelemetry](/admin/observability/opentelemetry) page.

```yaml
openTelemetry:
gateway:
config:
traces:
exporters:
...
# Your exporter configuration here
processors:
...
# Your processor configuration here
```

To use an external Jaeger instance, copy and customize the configs from the [opentelemetry-exporter/override.yaml](https://github.com/sourcegraph/deploy-sourcegraph-helm/tree/main/charts/sourcegraph/examples/opentelemetry-exporter/override.yaml) file, and add them to your Helm values override file:
Expand Down
2 changes: 1 addition & 1 deletion docs/admin/observability/opentelemetry.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

To handle this data, Sourcegraph deployments include a bundled [OpenTelemetry Collector](https://opentelemetry.io/docs/collector/) (otel-collector) container, which can be configured to ingest, process, and export observability data to a backend of your choice. This approach offers great flexibility.

> NOTE: Sourcegraph currently uses OTel for HTTP Traces, and plans to use it for metrics and logs in the future.
> NOTE: Sourcegraph currently uses OTel for HTTP Traces, and may use it for metrics and logs in the future.
For an in-depth explanation of the parts that compose a full collector pipeline, see OpenTelemetry's [documentation](https://opentelemetry.io/docs/collector/configuration/).

Expand Down

0 comments on commit f456ca4

Please sign in to comment.