Commit Graph

11 Commits

Author SHA1 Message Date
Robert Lin
07b18e34fa
doc: update log levels (#56855) 2024-01-30 13:45:16 -08:00
Jean-Hadrien Chabran
2dfade9a5f
doc: mention json_gcp format for logs (#54793)
Mentions the availability of `SRC_LOG_FORMAT=json_gcp` in the
admin/observability/logging page.

## Test plan

<!-- All pull requests REQUIRE a test plan:
https://docs.sourcegraph.com/dev/background-information/testing_principles
-->

CI.
2023-07-11 17:36:53 +00:00
David Veszelovszki
c67919e7c3
Docs: Add admin docs page for the Outbound request log (#45810) 2022-12-19 17:10:34 +01:00
Keegan Carruthers-Smith
f95cd6ae60
doc: include documention on SRC_LOG_SCOPE_LEVEL (#45135)
This updates our go.mod to include this feature as well as document it.

Test Plan: CI
2022-12-05 12:00:50 +02:00
Robert Lin
1f7e8d1fcf
log: add log sampling (#38451)
Enables log sampling by default for Sourcegraph components that use the new internal logging library - the first 100 identical log entries per second will always be output, but thereafter only every 100th identical message will be output. It can be configured for each service using the environment variables SRC_LOG_SAMPLING_INITIAL and SRC_LOG_SAMPLING_THEREAFTER, and if SRC_LOG_SAMPLING_INITIAL is set to 0 or -1 the sampling will be disabled entirely.
2022-07-08 08:27:09 -07:00
Jeff Wayman
a1f95f0afa
Product Education: Rewrite for Overview, Docker Compose, and Docker Single Container to align to new IA and deployment focus (#34715)
* Overall update to admin\install

These changes impact the install section with an update to include a deployment overview and a reorganization of the Docker Compose and Single-container sections. Because of a directory name change, I also have updated all other links directly.

* Remove old install files.

Removed indexes for Docker Compose and Single Container, as well as the separate operations guides as they are now part of the main docs.

* Updated admin index.

Added some links to the admin main page.

* Update redirects

Fix to redirect links.

* Update site_config.md

Updated link.

* Link fixes.

Various links associated with directory/folder change for deployment fixed.

* Various fixes based on review and link failures.

Fixed Buildkite link failures and implemented issues found during review.

* Update doc/admin/deploy/docker-compose/index.md

Suggested edit for clarification.

Co-authored-by: Michael Lin <mlzc@hey.com>

* Edits to correct link issues.

* Link fix. Removed sentence given redundant.

* Update git_server.go

Updated links to new location.

* update gitserver solutions or sth

* Deployment type table update.

Removed checkmarks (which have varied meanings globally), and the colored circles for easy/medium/hard (which may not be accessible for some readers).

* Update links for Kubernetes.

Added distinct links for k8s w/ and w/out Helm.

* Update doc/admin/how-to/redis_configmap.md

Fix link typo.

Co-authored-by: Crystal Augustus <91073224+caugustus-sourcegraph@users.noreply.github.com>

* Update doc/admin/deploy/index.md

Co-authored-by: Crystal Augustus <91073224+caugustus-sourcegraph@users.noreply.github.com>

* Update doc/admin/deploy/index.md

Co-authored-by: Crystal Augustus <91073224+caugustus-sourcegraph@users.noreply.github.com>

* Update doc/admin/deploy/docker-single-container/index.md

Co-authored-by: Crystal Augustus <91073224+caugustus-sourcegraph@users.noreply.github.com>

* Various changes based on review.

* Fix unintended update due to VS Code Extension.

* Fixed markdown numbering issue.

* Minor edits to correct links and deployment language.

* Moved location of Cloud installation docs within Docker Compose IA

* Updates based on review.

Improved language related to k8s w/helm. Removed language around CPU core recommendation.

* added more redirects to address link changes.

Co-authored-by: Michael Lin <mlzc@hey.com>
Co-authored-by: Robert Lin <robert@bobheadxi.dev>
Co-authored-by: Crystal Augustus <91073224+caugustus-sourcegraph@users.noreply.github.com>
2022-05-06 12:54:45 -04:00
Robert Lin
9318f183ef
doc/dev: refresh logging, migrate observability to docsite (#34793)
Co-authored-by: Jean-Hadrien Chabran <jh@chabran.fr>
2022-05-04 15:07:14 +00:00
Robert Lin
aaf2f048ae
doc/observability: document new OpenTelemetry log format (#34529) 2022-04-26 14:35:50 -07:00
Robert Lin
dfeb07ac1c
lib/log: initial implementation (#33956)
This introduces a new logging library we plan to enforce as the standard for logging at Sourcegraph - see https://github.com/sourcegraph/sourcegraph/issues/33192 for more details.

Co-authored-by: Eric Fritz <eric@eric-fritz.com>
2022-04-21 12:58:50 -07:00
Warren Gifford
ca31a9e012
Doc log lvl update (#32803)
* quick doc update on how to apply env var in compose

* add links in src log level page

* missed a level in relative links

* remove docker-compose down instruction
2022-03-21 17:14:32 +00:00
Robert Lin
ef7f19a756
monitoring: dashboards reference, refresh observability docs (#16939)
- New monitoring definition field, 'Interpretation'
- New generated dashboards reference
- Grafana panels now link to alert solutions and dashboards reference
- Refreshed observability docs

Co-authored-by: uwedeportivo <534011+uwedeportivo@users.noreply.github.com>
2020-12-23 10:36:41 +08:00