Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
11 changes: 0 additions & 11 deletions src/common/core/templates/docgen-events.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,3 @@
---
title: Events
sidebar_label: Events
sidebar_position: 30
---

Flagsmith backend emits [OpenTelemetry events](https://opentelemetry.io/docs/specs/otel/logs/data-model/#events)
that can be ingested to downstream observability systems and/or a data warehouse of your choice via OTLP.
To learn how to configure this, see [OpenTelemetry](deployment-self-hosting/scaling-and-performance/opentelemetry).

## Event catalogue
{% for event in flagsmith_events %}
### `{{ event.name }}`

Expand Down
14 changes: 0 additions & 14 deletions src/common/core/templates/docgen-metrics.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,3 @@
---
title: Metrics
sidebar_label: Metrics
sidebar_position: 20
---

## Prometheus

To enable the Prometheus `/metrics` endpoint, set the `PROMETHEUS_ENABLED` environment variable to `true`.

When enabled, Flagsmith serves the `/metrics` endpoint on port 9100.

The metrics provided by Flagsmith are described below.

{% for metric in flagsmith_metrics %}
### `{{ metric.name }}`

Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,3 @@
---
title: Events
sidebar_label: Events
sidebar_position: 30
---

Flagsmith backend emits [OpenTelemetry events](https://opentelemetry.io/docs/specs/otel/logs/data-model/#events)
that can be ingested to downstream observability systems and/or a data warehouse of your choice via OTLP.
To learn how to configure this, see [OpenTelemetry](deployment-self-hosting/scaling-and-performance/opentelemetry).

## Event catalogue

### `code_references.scan.created`

Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,3 @@
---
title: Metrics
sidebar_label: Metrics
sidebar_position: 20
---

## Prometheus

To enable the Prometheus `/metrics` endpoint, set the `PROMETHEUS_ENABLED` environment variable to `true`.

When enabled, Flagsmith serves the `/metrics` endpoint on port 9100.

The metrics provided by Flagsmith are described below.


### `flagsmith_build_info`

Expand Down