Skip to content
Closed
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
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Changelog

## Pending
## [3.5.5] 2026-09-15
- Bumped core-agent to 1.6.0
- Add `core_agent_ca_cert` config option to pass `--ca-cert` to the Core Agent

## [3.5.4] 2026-09-15
- Fix FastMCP tool annotation tags (`read_only`/`idempotent`/`external`/`destructive`) under FastMCP 4.x (MCP SDK v2), which renamed the `ToolAnnotations` hint fields from camelCase to snake_case; reads now try snake_case then camelCase, keeping FastMCP 2.x/3.x support
- Bump flake8 pre-commit hook to 7.3.0 for Python 3.12+ compatibility (pyflakes no longer crashes on `ast.Str`)
- Fix `rq` instrumentation: use `Job.id` property instead of removed `get_id()` (#851)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

setup(
name="scout_apm",
version="3.5.3",
version="3.5.5",
description="Scout Application Performance Monitoring Agent",
long_description=long_description,
long_description_content_type="text/markdown",
Expand Down
9 changes: 9 additions & 0 deletions src/scout_apm/core/agent/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ def run(self):
+ self.log_file()
+ self.config_file()
+ self.socket_path()
+ self.ca_cert()
),
close_fds=True,
stdout=devnull,
Expand Down Expand Up @@ -129,6 +130,14 @@ def config_file(self):
else:
return []

def ca_cert(self):
path = scout_config.value("core_agent_ca_cert")

if path is not None:
return ["--ca-cert", path]
else:
return []

def verify(self):
manifest = parse_manifest(self.core_agent_dir + "/manifest.json")
if manifest is None:
Expand Down
3 changes: 2 additions & 1 deletion src/scout_apm/core/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ def log(self) -> None:
"app_server",
"application_root",
"collect_remote_ip",
"core_agent_ca_cert",
"core_agent_config_file",
"core_agent_dir",
"core_agent_download",
Expand Down Expand Up @@ -229,7 +230,7 @@ def __init__(self):
"core_agent_log_level": "info",
"core_agent_permissions": 700,
"core_agent_socket_path": "tcp://127.0.0.1:6590",
"core_agent_version": "v1.5.1", # can be an exact tag name, or 'latest'
"core_agent_version": "v1.6.0", # can be an exact tag name, or 'latest'
"disabled_instruments": [],
"download_url": (
"https://s3-us-west-1.amazonaws.com/scout-public-downloads/"
Expand Down
15 changes: 15 additions & 0 deletions tests/unit/core/agent/test_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,21 @@ def test_config_file_old_name_takes_precedence(self):

assert result == ["--config-file", "foo"]

def test_ca_cert(self):
scout_config.set(core_agent_ca_cert="foo")

try:
result = CoreAgentManager().ca_cert()
finally:
scout_config.reset_all()

assert result == ["--ca-cert", "foo"]

def test_ca_cert_not_set(self):
result = CoreAgentManager().ca_cert()

assert result == []


class TestParseManifest(object):
def test_fail_does_not_exist(self, caplog, tmp_path):
Expand Down
Loading