Skip to content

Commit

Permalink
Implement PCP metrics channel
Browse files Browse the repository at this point in the history
Co-Authored-By: Allison Karlitskaya <allison.karlitskaya@redhat.com>
Co-Authored-By: Tomas Matus <tomatus777@gmail.com>
  • Loading branch information
3 people committed Jul 4, 2024
1 parent 85223d9 commit 099ac0e
Show file tree
Hide file tree
Showing 5 changed files with 911 additions and 1 deletion.
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ module = [
"libvirt_qemu",
"pika",

# run without pcp module types
"pcp",
"cpmapi",

# run without gobject-introspection (used from cockpit-client for Gtk)
"gi.*",

Expand Down Expand Up @@ -206,6 +210,7 @@ deps =
pytest: pytest-cov
pytest: pytest-timeout
pytest: pytest-xdist
pcp
allowlist_externals = test/static-code
commands =
pytest: python3 -m pytest -opythonpath= {posargs}
Expand Down
2 changes: 2 additions & 0 deletions src/cockpit/channels/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
from .http import HttpChannel
from .metrics import InternalMetricsChannel
from .packages import PackagesChannel
from .pcp import PcpMetricsChannel
from .stream import SocketStreamChannel, SubprocessStreamChannel
from .trivial import EchoChannel, NullChannel

Expand All @@ -35,6 +36,7 @@
InternalMetricsChannel,
NullChannel,
PackagesChannel,
PcpMetricsChannel,
SubprocessStreamChannel,
SocketStreamChannel,
]
Loading

0 comments on commit 099ac0e

Please sign in to comment.