56 Commits

Author SHA1 Message Date
Eric Peterson 130db0d6c6 Initial default implementation of the tracing service + docs
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2026-05-07 12:15:15 +02:00
Fredrik Adelöw 05b1de4321 Merge pull request #33680 from rolandfuszenecker-seon/feat/aws-rds-iam-auth
feat(backend-defaults): add AWS RDS IAM authentication support for PostgreSQL
2026-04-10 16:47:13 +02:00
Roland Fuszenecker 21e7ec5d74 feat(backend-defaults): improve AWS RDS IAM auth error handling and token expiry
Signed-off-by: Roland Fuszenecker <roland.fuszenecker@seon.io>
2026-04-02 15:34:09 +02:00
Roland Fuszenecker c69e03ce3d feat(backend-defaults): add AWS RDS IAM authentication support for PostgreSQL
Signed-off-by: Roland Fuszenecker <roland.fuszenecker@seon.io>
2026-04-02 15:34:02 +02:00
Patrik Oldsberg 538d0a1488 cli: enable embedded-postgres via config instead of env var
Rather than requiring the `EXPERIMENTAL_DEV_DB` environment variable,
the embedded postgres server is now started automatically when
`backend.database.client` is set to `embedded-postgres` in the app
config. The CLI reads the config before spawning the backend and
injects the actual pg connection details via env override.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
2026-04-01 13:03:11 +02:00
Ben Lambert 1ee5b28e41 feat(metrics): Implement MetricsService (#32977)
* feat: add MetricsService alpha release

Introduces MetricsService as a new @alpha core service wrapping
@opentelemetry/api. Includes migration of existing catalog metrics
to use the new service.

Signed-off-by: benjdlambert <ben@blam.sh>

* chore: duplicate otel types, add plugin-scoped factory and tests

Signed-off-by: benjdlambert <ben@blam.sh>

* chore: update BEP-0012 metrics service design

Signed-off-by: Kurt King <kurtaking@gmail.com>

* chore: address PR feedback from freben and rugvip

Rename instrument types with MetricsService prefix for namespace
clarity, move config to backend.metrics.plugin.{pluginId}, add
config.d.ts schema, and improve factory test assertions.

Signed-off-by: benjdlambert <ben@blam.sh>

---------

Signed-off-by: benjdlambert <ben@blam.sh>
Signed-off-by: Kurt King <kurtaking@gmail.com>
Co-authored-by: Kurt King <kurtaking@gmail.com>
2026-02-24 16:57:02 +01:00
Sandor Karpf b99158a1d8 fix: default pg connection config:check type
Signed-off-by: Sandor Karpf <sandor.karpf@lastpass.com>
2026-02-21 02:54:42 +01:00
Arjan 8dd518a8ff chore: support Entra authentication for Azure Database for PostgreSQL (#31855)
* chore: support Entra authentication for Azure Database for PostgreSQL

Signed-off-by: Arjan Randhawa <arjan_randhawa@outlook.com>

* chore: refactor methods (pr comments)

Signed-off-by: Arjan Randhawa <arjan_randhawa@outlook.com>

* chore: remove unsued helper function

Signed-off-by: Arjan Randhawa <arjan_randhawa@outlook.com>

* chore: Use Config over ConfigReader (PR Comments)

Signed-off-by: Arjan <arjan_randhawa@outlook.com>

* chore: Use consistent config name

Signed-off-by: Arjan <arjan_randhawa@outlook.com>

---------

Signed-off-by: Arjan Randhawa <arjan_randhawa@outlook.com>
Signed-off-by: Arjan <arjan_randhawa@outlook.com>
2026-01-30 15:27:53 +01:00
Ben Lambert 6fc00e6804 ActionsRegistry: Enable filtering of Actions from sources (#32134)
* feat(backend-defaults): add config schema for action filtering

Signed-off-by: benjdlambert <ben@blam.sh>

* feat(backend-defaults): implement action filtering with glob patterns and attributes

Signed-off-by: benjdlambert <ben@blam.sh>

* test(backend-defaults): add edge case tests for action filtering

Signed-off-by: benjdlambert <ben@blam.sh>

* chore: add changeset for action filtering feature

Signed-off-by: benjdlambert <ben@blam.sh>

* feat: code review comments

Signed-off-by: benjdlambert <ben@blam.sh>

* chore: should always exclude

Signed-off-by: benjdlambert <ben@blam.sh>

---------

Signed-off-by: benjdlambert <ben@blam.sh>
2026-01-09 16:31:12 +01:00
Fredrik Adelöw 608248b984 Merge pull request #31497 from benjidotsh/cache/improved-valkey-support 2025-12-15 23:12:33 +01:00
vandr0iy a98c71a435 feat(frontend): adding the referrer options to config.d.ts
Signed-off-by: vandr0iy <5510334+vandr0iy@users.noreply.github.com>
2025-12-04 12:09:31 +01:00
Benjamin Janssens 2bc4e02903 fix(cache): improve support for Valkey
Signed-off-by: Benjamin Janssens <benji.janssens@gmail.com>
2025-10-22 17:32:10 +02:00
Beth Griggs d501e8c768 feat(http): move HTTP server configuration application, enable flexible duration formats
This commit applies HTTP server configuration in `rootHttpRouterServiceFactory`
and adds support for multiple duration formats for timeouts. The previous
tests for server config have been moved and refactored. The documentation
and CHANGELOG have been updated to reflect the new configuration structure
and supported formats.

Signed-off-by: Beth Griggs <bethanyngriggs@gmail.com>
2025-09-16 19:07:28 +01:00
Thomas Cardonne 9e02b14e3c Merge branch 'master' into feat-root-logger-service-overrides
Signed-off-by: Thomas Cardonne <thomas.cardonne@adevinta.com>
2025-09-01 13:26:20 +02:00
John Redwood 8f776ef81a fix: review comments and added dataFormat options
Signed-off-by: John Redwood <john.r.k.redwood@gmail.com>
2025-08-15 07:32:22 +10:00
John Redwood 133519ba25 feat: new cache manager infinispan
Signed-off-by: John Redwood <john.r.k.redwood@gmail.com>
2025-08-15 07:32:02 +10:00
Thomas Cardonne f244e61d20 feat(backend-defaults): add backend.logger configuration options
Signed-off-by: Thomas Cardonne <thomas.cardonne@adevinta.com>
2025-08-12 21:49:38 +02:00
Hellgren Heikki a68bbc54c0 feat: allow plugin specific rate limiting
Signed-off-by: Hellgren Heikki <heikki.hellgren@op.fi>
2025-06-11 14:34:19 +03:00
Hellgren Heikki 6633c138b5 fix: review findings + docs update
Signed-off-by: Hellgren Heikki <heikki.hellgren@op.fi>
2025-06-11 14:34:19 +03:00
Hellgren Heikki c05a6982ea feat: support postgres store for rate limiting
Signed-off-by: Hellgren Heikki <heikki.hellgren@op.fi>
2025-06-11 14:34:19 +03:00
Heikki Hellgren d6bd7a540d fix: review findings
Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi>
2025-06-11 14:34:18 +03:00
Heikki Hellgren 279c15cb5d fix: skip trust proxy validation in rate limiting
Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi>
2025-06-11 14:34:18 +03:00
Heikki Hellgren 1220cf84d0 feat(backend): allow rate limiting requests to the backend
uses redis for storing the data if it has been configured; otherwise
falls back to memory

configuration allows controlling almost all possible configuration
available in the `express-rate-limit` library.

Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi>
2025-06-11 14:34:18 +03:00
benjdlambert 4e8f01357e feat: some tweaks to the actions registry and implementing some of the actions client
Signed-off-by: benjdlambert <ben@blam.sh>
2025-05-27 11:52:39 +02:00
Jacob Bulbul c6bc67daf6 add Valkey cache support alongside Redis and relevant tests
Signed-off-by: Jacob Bulbul <j1bulbul@gmail.com>
2025-04-29 12:58:40 +01:00
Fredrik Adelöw cc84b9307b Merge pull request #29606 from backstage/freben/srv
Implement SRV support in `HostDiscovery`
2025-04-15 15:19:04 +02:00
Fredrik Adelöw 9eb251eace Update packages/backend-defaults/config.d.ts
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2025-04-15 13:38:45 +02:00
Fredrik Adelöw 7c6740eb1c implement SRV support in HostDiscovery
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2025-04-15 13:34:09 +02:00
Fredrik Adelöw 939116cce9 add backend.trustProxy
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2025-04-12 13:26:44 +02:00
Paul Schultz 175528cce3 feat: add backend.auditor.severityLogLevelMappings to map severity levels to log levels
Signed-off-by: Paul Schultz <pschultz@pobox.com>
2025-04-08 07:39:39 -05:00
Fredrik Adelöw da4b41bd6a Merge pull request #29162 from marknach/cache-options
implement more comprehensive redis option passthrough
2025-03-19 14:20:13 +01:00
Mark Nachazel 893e8730b7 update types, lock down client options
Signed-off-by: Mark Nachazel <markn@doordash.com>
2025-03-16 20:05:14 -04:00
Patrik Oldsberg 12f8e0170a app-defaults: use FrontendHostDiscovery by default
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-03-11 15:27:45 +01:00
Tomasz Szuba c7609de702 Allow passing ip type to cloud-sql-connector
Signed-off-by: Tomasz Szuba <tszuba@box.com>
2025-01-31 12:08:15 +01:00
blam b6cb774823 chore: fixing config schema again
Signed-off-by: blam <ben@blam.sh>
2024-12-20 13:58:17 +01:00
blam 5c399429d9 chore: small refactor and some new config.d.ts
Signed-off-by: blam <ben@blam.sh>
2024-12-20 13:50:33 +01:00
Camila Belo ba082fd507 refactor: apply more review suggestions
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2024-12-10 12:17:34 +01:00
Camila Belo 8397edc1bf fix: accept only config as string or human duration
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2024-12-10 10:15:59 +01:00
Camila Belo d0cbd82965 refactor: address latest review comments
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2024-12-10 09:47:17 +01:00
Camila Belo ad39962dc9 refator: move lifecycle middleware to root http
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2024-12-06 16:56:23 +01:00
Patrik Oldsberg fd5d337df4 backend-defaults: add backend.health.headers config
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-12-05 10:23:40 +01:00
blam 35d6263803 chore: rework solution
Signed-off-by: blam <ben@blam.sh>
2024-11-29 09:42:13 +01:00
blam 4bdfcf05ba chore: adjust config a little bit
Signed-off-by: blam <ben@blam.sh>
2024-11-29 09:42:13 +01:00
eipc16 de6f280dfa Bumped @keyv/redis and keyv libraries to resolve issues with invalid cache key resolution
Signed-off-by: eipc16 <pprzemek.312@gmail.com>
2024-11-19 17:52:43 +01:00
Fredrik Adelöw d52d7f9935 implement support for string form human durations in config
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2024-11-17 23:06:26 +01:00
Fredrik Adelöw 622360e97b adjust the discovery config again
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2024-08-28 16:45:54 +02:00
Fredrik Adelöw b2a329d0c9 correct the backend-defaults config schema
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2024-08-28 14:26:39 +02:00
Johan Haals f9b1d57da5 chore: Update config
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2024-08-27 10:38:44 +02:00
Johan Haals 66b7af4217 chore: tweak wording, fix config docs
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2024-08-27 10:35:35 +02:00
Johan Haals 5a8fcb4eb3 backend-defaults: Add config options to skip database migrations
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2024-08-27 10:35:34 +02:00