Skip to content

Commit c27f23f

Browse files
Merge remote-tracking branch 'origin/dev' into feature/connectorsheadersvariable3
2 parents d751c03 + fc8fcc3 commit c27f23f

File tree

79 files changed

+5406
-1396
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+5406
-1396
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
### Compute job spans ([PR #7236](https://github.com/apollographql/router/pull/7236))
2+
3+
The router uses a separate thread pool called "compute jobs" to ensure that requests do not block tokio io worker threads.
4+
This PR adds spans to jobs that are on this pool to allow users to see when latency is introduced due to
5+
resource contention within the compute job pool.
6+
7+
* `compute_job`:
8+
- `job.type`: (`QueryParsing`|`QueryParsing`|`Introspection`)
9+
* `compute_job.execution`
10+
- `job.age`: `P1`-`P8`
11+
- `job.type`: (`QueryParsing`|`QueryParsing`|`Introspection`)
12+
13+
Jobs are executed highest priority (`P8`) first. Jobs that are low priority (`P1`) age over time, eventually executing
14+
at highest priority. The age of a job is can be used to diagnose if a job was waiting in the queue due to other higher
15+
priority jobs also in the queue.
16+
17+
By [@bryncooke](https://github.com/bryncooke) in https://github.com/apollographql/router/pull/7236
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
### Enables reporting of persisted query usage by PQ ID to Apollo ([PR #7166](https://github.com/apollographql/router/pull/7166))
2+
3+
This change allows the router to report usage metrics by persisted query ID to Apollo, so that we can show usage stats for PQs.
4+
5+
By [@bonnici](https://github.com/bonnici) in https://github.com/apollographql/router/pull/7166
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
### Update Dockerfile exec script to use `#!/bin/bash` instead of `#!/usr/bin/env bash` ([Issue #3517](https://github.com/apollographql/router/issues/3517))
2+
3+
For users of Google Cloud Platform (GCP) Cloud Run platform, using the router's default Docker image was not possible due to an error that would occur during startup:
4+
5+
```sh
6+
"/usr/bin/env: 'bash ': No such file or directory"
7+
```
8+
9+
To avoid this issue, we've changed the script to use `#!/bin/bash` instead of `#!/usr/bin/env bash`, as we use a fixed Linux distribution in Docker which has the Bash binary located there.
10+
11+
By [@lleadbet](https://github.com/lleadbet) in https://github.com/apollographql/router/pull/7198

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,28 @@
22

33
This project adheres to [Semantic Versioning v2.0.0](https://semver.org/spec/v2.0.0.html).
44

5+
# [2.1.2] - 2025-04-14
6+
7+
## 🐛 Fixes
8+
9+
### Support `@context`/`@fromContext` when using Connectors ([PR #7132](https://github.com/apollographql/router/pull/7132))
10+
11+
This fixes a bug that dropped the `@context` and `@fromContext` directives when introducing a connector.
12+
13+
By [@lennyburdette](https://github.com/lennyburdette) in https://github.com/apollographql/router/pull/7132
14+
15+
## 📃 Configuration
16+
17+
### Add new configurable delivery pathway for high cardinality Apollo Studio metrics ([PR #7138](https://github.com/apollographql/router/pull/7138))
18+
19+
This change provides a secondary pathway for new "realtime" Studio metrics whose delivery interval is configurable due to their higher cardinality. These metrics will respect `telemetry.apollo.batch_processor.scheduled_delay` as configured on the realtime path.
20+
21+
All other Apollo metrics will maintain the previous hardcoded 60s send interval.
22+
23+
By [@rregitsky](https://github.com/rregitsky) and [@timbotnik](https://github.com/timbotnik) in https://github.com/apollographql/router/pull/7138
24+
25+
26+
527
# [2.1.1] - 2025-04-07
628

729
## 🔒 Security

0 commit comments

Comments
 (0)