Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
Actor Framework
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
Actor Framework
Commits
21aea94b
Commit
21aea94b
authored
Mar 14, 2021
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add metrics filters to the list of CLI parameters
parent
1b29bf10
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
CHANGELOG.md
CHANGELOG.md
+4
-0
libcaf_core/src/actor_system_config.cpp
libcaf_core/src/actor_system_config.cpp
+3
-0
No files found.
CHANGELOG.md
View file @
21aea94b
...
@@ -26,6 +26,10 @@ is based on [Keep a Changelog](https://keepachangelog.com).
...
@@ -26,6 +26,10 @@ is based on [Keep a Changelog](https://keepachangelog.com).
-
Passing a function reference to the constructor of an actor caused a compiler
-
Passing a function reference to the constructor of an actor caused a compiler
error when building with logging enabled. CAF now properly handles this edge
error when building with logging enabled. CAF now properly handles this edge
case and logs such constructor arguments as
`<unprintable>`
(#1229).
case and logs such constructor arguments as
`<unprintable>`
(#1229).
-
The CLI parser did not recognize metrics filters. Hence, passing
`--caf.metrics-filters.actors.includes=...`
to a CAF application resulted in
an error. The
`includes`
and
`excludes`
filters are now consistently handled
and accepted in config files as well as on the command line (#1238).
## [0.18.0] - 2021-01-25
## [0.18.0] - 2021-01-25
...
...
libcaf_core/src/actor_system_config.cpp
View file @
21aea94b
...
@@ -101,6 +101,9 @@ actor_system_config::actor_system_config()
...
@@ -101,6 +101,9 @@ actor_system_config::actor_system_config()
.
add
<
string
>
(
"format"
,
"format for printed console lines"
)
.
add
<
string
>
(
"format"
,
"format for printed console lines"
)
.
add
<
string
>
(
"verbosity"
,
"minimum severity level for console output"
)
.
add
<
string
>
(
"verbosity"
,
"minimum severity level for console output"
)
.
add
<
string_list
>
(
"excluded-components"
,
"excluded components on console"
);
.
add
<
string_list
>
(
"excluded-components"
,
"excluded components on console"
);
opt_group
{
custom_options_
,
"caf.metrics-filters.actors"
}
.
add
<
string_list
>
(
"includes"
,
"selects actors for run-time metrics"
)
.
add
<
string_list
>
(
"excludes"
,
"excludes actors from run-time metrics"
);
}
}
settings
actor_system_config
::
dump_content
()
const
{
settings
actor_system_config
::
dump_content
()
const
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment