Skip to content
Open
Show file tree
Hide file tree
Changes from 3 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
1 change: 0 additions & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,6 @@ changelog/fragments/
/x-pack/metricbeat/module/istio/ @elastic/obs-ds-hosted-services
/x-pack/metricbeat/module/mssql @elastic/obs-infraobs-integrations
/x-pack/metricbeat/module/meraki @elastic/obs-infraobs-integrations
/x-pack/metricbeat/module/openai @elastic/obs-infraobs-integrations
/x-pack/metricbeat/module/oracle @elastic/obs-infraobs-integrations
/x-pack/metricbeat/module/panw @elastic/obs-infraobs-integrations
/x-pack/metricbeat/module/prometheus @elastic/obs-infraobs-integrations
Expand Down
45 changes: 45 additions & 0 deletions changelog/fragments/1764619633-remove-openai-module.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# REQUIRED
# Kind can be one of:
# - breaking-change: a change to previously-documented behavior
# - deprecation: functionality that is being removed in a later release
# - bug-fix: fixes a problem in a previous version
# - enhancement: extends functionality but does not break or fix existing behavior
# - feature: new functionality
# - known-issue: problems that we are aware of in a given version
# - security: impacts on the security of a product or a user’s deployment.
# - upgrade: important information for someone upgrading from a prior version
# - other: does not fit into any of the other categories
kind: other

# REQUIRED for all kinds
# Change summary; a 80ish characters long description of the change.
summary: We discontinued the OpenAI module, which was only ever in beta, because its reliance on a now-unsupported, undocumented API from OpenAI is obsolete following the release of the official API. We recommend using the OpenAI integration (https://www.elastic.co/docs/reference/integrations/openai) instead.

# REQUIRED for breaking-change, deprecation, known-issue
# Long description; in case the summary is not enough to describe the change
# this field accommodate a description without length limits.
# description:

# REQUIRED for breaking-change, deprecation, known-issue
# impact:

# REQUIRED for breaking-change, deprecation, known-issue
# action:

# REQUIRED for all kinds
# Affected component; usually one of "elastic-agent", "fleet-server", "filebeat", "metricbeat", "auditbeat", "all", etc.
component: metricbeat

# AUTOMATED
# OPTIONAL to manually add other PR URLs
# PR URL: A link the PR that added the changeset.
# If not present is automatically filled by the tooling finding the PR where this changelog fragment has been added.
# NOTE: the tooling supports backports, so it's able to fill the original PR number instead of the backport PR number.
# Please provide it if you are adding a fragment for a different PR.
# pr: https://github.com/owner/repo/1234

# AUTOMATED
# OPTIONAL to manually add other issue URLs
# Issue URL; optional; the GitHub issue related to this changeset (either closes or is part of).
# If not present is automatically filled by the tooling with the issue linked to the PR number.
# issue: https://github.com/owner/repo/1234
1 change: 0 additions & 1 deletion docs/reference/metricbeat/exported-fields.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ This document describes the fields that are exported by Metricbeat. They are gro
* [*MySQL fields*](/reference/metricbeat/exported-fields-mysql.md)
* [*NATS fields*](/reference/metricbeat/exported-fields-nats.md)
* [*Nginx fields*](/reference/metricbeat/exported-fields-nginx.md)
* [*openai fields*](/reference/metricbeat/exported-fields-openai.md)
* [*Openmetrics fields*](/reference/metricbeat/exported-fields-openmetrics.md)
* [*Oracle fields*](/reference/metricbeat/exported-fields-oracle.md)
* [*Panw fields*](/reference/metricbeat/exported-fields-panw.md)
Expand Down
1 change: 0 additions & 1 deletion docs/reference/metricbeat/metricbeat-modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ This section contains detailed information about the metric collecting modules c
| [MySQL](/reference/metricbeat/metricbeat-module-mysql.md) | ![Prebuilt dashboards are available](images/icon-yes.png "") | [galera_status](/reference/metricbeat/metricbeat-metricset-mysql-galera_status.md) {applies_to}`stack: beta`<br>[performance](/reference/metricbeat/metricbeat-metricset-mysql-performance.md) {applies_to}`stack: beta`<br>[query](/reference/metricbeat/metricbeat-metricset-mysql-query.md) {applies_to}`stack: beta`<br>[status](/reference/metricbeat/metricbeat-metricset-mysql-status.md) |
| [NATS](/reference/metricbeat/metricbeat-module-nats.md) | ![Prebuilt dashboards are available](images/icon-yes.png "") | [connection](/reference/metricbeat/metricbeat-metricset-nats-connection.md)<br>[connections](/reference/metricbeat/metricbeat-metricset-nats-connections.md)<br>[jetstream](/reference/metricbeat/metricbeat-metricset-nats-jetstream.md) {applies_to}`stack: beta 9.1.0`<br>[route](/reference/metricbeat/metricbeat-metricset-nats-route.md)<br>[routes](/reference/metricbeat/metricbeat-metricset-nats-routes.md)<br>[stats](/reference/metricbeat/metricbeat-metricset-nats-stats.md)<br>[subscriptions](/reference/metricbeat/metricbeat-metricset-nats-subscriptions.md) |
| [Nginx](/reference/metricbeat/metricbeat-module-nginx.md) | ![Prebuilt dashboards are available](images/icon-yes.png "") | [stubstatus](/reference/metricbeat/metricbeat-metricset-nginx-stubstatus.md) |
| [openai](/reference/metricbeat/metricbeat-module-openai.md) {applies_to}`stack: beta` | ![No prebuilt dashboards](images/icon-no.png "") | [usage](/reference/metricbeat/metricbeat-metricset-openai-usage.md) {applies_to}`stack: beta` |
| [Openmetrics](/reference/metricbeat/metricbeat-module-openmetrics.md) {applies_to}`stack: beta` | ![No prebuilt dashboards](images/icon-no.png "") | [collector](/reference/metricbeat/metricbeat-metricset-openmetrics-collector.md) {applies_to}`stack: beta` |
| [Oracle](/reference/metricbeat/metricbeat-module-oracle.md) | ![Prebuilt dashboards are available](images/icon-yes.png "") | [performance](/reference/metricbeat/metricbeat-metricset-oracle-performance.md)<br>[sysmetric](/reference/metricbeat/metricbeat-metricset-oracle-sysmetric.md) {applies_to}`stack: beta`<br>[tablespace](/reference/metricbeat/metricbeat-metricset-oracle-tablespace.md) |
| [Panw](/reference/metricbeat/metricbeat-module-panw.md) {applies_to}`stack: beta` | ![No prebuilt dashboards](images/icon-no.png "") | [interfaces](/reference/metricbeat/metricbeat-metricset-panw-interfaces.md) {applies_to}`stack: beta`<br>[routing](/reference/metricbeat/metricbeat-metricset-panw-routing.md) {applies_to}`stack: beta`<br>[system](/reference/metricbeat/metricbeat-metricset-panw-system.md) {applies_to}`stack: beta`<br>[vpn](/reference/metricbeat/metricbeat-metricset-panw-vpn.md) {applies_to}`stack: beta` |
Expand Down
4 changes: 0 additions & 4 deletions docs/reference/toc.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
project: "Beats"
toc:
# TO DO: Do we want these to be separate pages?
Expand Down Expand Up @@ -1090,9 +1090,6 @@
- file: metricbeat/metricbeat-module-nginx.md
children:
- file: metricbeat/metricbeat-metricset-nginx-stubstatus.md
- file: metricbeat/metricbeat-module-openai.md
children:
- file: metricbeat/metricbeat-metricset-openai-usage.md
- file: metricbeat/metricbeat-module-openmetrics.md
children:
- file: metricbeat/metricbeat-metricset-openmetrics-collector.md
Expand Down Expand Up @@ -1265,7 +1262,6 @@
- file: metricbeat/exported-fields-mysql.md
- file: metricbeat/exported-fields-nats.md
- file: metricbeat/exported-fields-nginx.md
- file: metricbeat/exported-fields-openai.md
- file: metricbeat/exported-fields-openmetrics.md
- file: metricbeat/exported-fields-oracle.md
- file: metricbeat/exported-fields-panw.md
Expand Down
5 changes: 0 additions & 5 deletions x-pack/agentbeat/agentbeat.spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -522,11 +522,6 @@ inputs:
platforms: *platforms
outputs: *outputs
command: *metricbeat_command
- name: openai/metrics
description: "OpenAI metrics"
platforms: *platforms
outputs: *outputs
command: *metricbeat_command
- name: panw/metrics
description: "Palo Alto Networks metrics"
platforms: *platforms
Expand Down
2 changes: 0 additions & 2 deletions x-pack/metricbeat/include/list.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

36 changes: 0 additions & 36 deletions x-pack/metricbeat/metricbeat.reference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1341,42 +1341,6 @@ metricbeat.modules:
# Path to server status. Default nginx_status
server_status_path: "nginx_status"

#-------------------------------- Openai Module --------------------------------
- module: openai
metricsets: ["usage"]
enabled: false
period: 1h

# # Project API Keys - Multiple API keys can be specified for different projects
# api_keys:
# - key: "api_key1"
# - key: "api_key2"

# # API Configuration
# ## Base URL for the OpenAI usage API endpoint
# api_url: "https://api.openai.com/v1/usage"
# ## Custom headers to be included in API requests
# headers:
# - "k1: v1"
# - "k2: v2"
## Rate Limiting Configuration
# rate_limit:
# limit: 12 # seconds between requests
# burst: 1 # max concurrent requests
# ## Request Timeout Duration
# timeout: 30s

# # Data Collection Configuration
# collection:
# ## Number of days to look back when collecting usage data
# lookback_days: 30
# ## Whether to collect usage data in realtime. Defaults to false as how
# # OpenAI usage data is collected will end up adding duplicate data to ES
# # and also making it harder to do analytics. Best approach is to avoid
# # realtime collection and collect only upto last day (in UTC). So, there's
# # at most 24h delay.
# realtime: false

#----------------------------- Openmetrics Module -----------------------------
- module: openmetrics
metricsets: ['collector']
Expand Down
34 changes: 0 additions & 34 deletions x-pack/metricbeat/module/openai/_meta/config.yml

This file was deleted.

6 changes: 0 additions & 6 deletions x-pack/metricbeat/module/openai/_meta/docs.md

This file was deleted.

10 changes: 0 additions & 10 deletions x-pack/metricbeat/module/openai/_meta/fields.yml

This file was deleted.

6 changes: 0 additions & 6 deletions x-pack/metricbeat/module/openai/doc.go

This file was deleted.

23 changes: 0 additions & 23 deletions x-pack/metricbeat/module/openai/fields.go

This file was deleted.

37 changes: 0 additions & 37 deletions x-pack/metricbeat/module/openai/usage/_meta/data.json

This file was deleted.

6 changes: 0 additions & 6 deletions x-pack/metricbeat/module/openai/usage/_meta/docs.md

This file was deleted.

Loading
Loading