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
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,16 @@ canonical: https://grafana.com/docs/alloy/latest/reference/components/database_o
description: Learn about database_observability.mysql
title: database_observability.mysql
labels:
stage: public-preview
stage: general-availability
products:
- oss
---

# `database_observability.mysql`

{{< docs/shared lookup="stability/public_preview.md" source="alloy" version="<ALLOY_VERSION>" >}}
`database_observability.mysql` connects to a MySQL database and collects observability data from the `performance_schema` and `information_schema`.
The component collects query details, schema information, explain plans, query samples, and lock information.
It forwards this data as log entries to Loki receivers and exports targets for Prometheus scraping.

## Usage

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,16 @@ canonical: https://grafana.com/docs/alloy/latest/reference/components/database_o
description: Learn about database_observability.postgres
title: database_observability.postgres
labels:
stage: public-preview
stage: general-availability
products:
- oss
---

# `database_observability.postgres`

{{< docs/shared lookup="stability/public_preview.md" source="alloy" version="<ALLOY_VERSION>" >}}
`database_observability.postgres` connects to a PostgreSQL database and collects observability data from system catalogs and the `pg_stat_statements` extension.
The component collects query details, schema information, explain plans, query samples, and processes PostgreSQL logs.
It forwards this data as log entries to Loki receivers and exports targets for Prometheus scraping.

## Usage

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const selectServerInfo = `SELECT @@server_uuid, @@hostname, VERSION()`
func init() {
component.Register(component.Registration{
Name: name,
Stability: featuregate.StabilityPublicPreview,
Stability: featuregate.StabilityGenerallyAvailable,
Args: Arguments{},
Exports: Exports{},

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ WHERE name = 'server_version';`
func init() {
component.Register(component.Registration{
Name: name,
Stability: featuregate.StabilityPublicPreview,
Stability: featuregate.StabilityGenerallyAvailable,
Args: Arguments{},
Exports: Exports{},

Expand Down
Loading