Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Monaco 2.10 and and earlier versions - process group, host group, etc. filters in request attributes do not transfer #1393

Open
BruceSpruce opened this issue Feb 27, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@BruceSpruce
Copy link

Describe the bug
When exporting request attributes, the generated json does not contain information about filters applied to, for example, the process group

How to reproduce
Steps to reproduce the behavior:

  • Prepare the request attribute by narrowing it down to a process group
  • make an export request for attributes
  • make an import

Expected behavior
I expect the transfer of specific rules, e.g. process group
2024-02-27 13_56_15-Request Attributes - PROD - Dynatrace

Log output
{
"aggregation": "FIRST",
"confidential": false,
"dataSources": [
{
"enabled": true,
"methods": [
{
"argumentIndex": 2,
"capture": "ARGUMENT",
"method": {
"argumentTypes": [
"XX.XXXXX.aip.event.bus.domain.EventBusOffsetKey",
"java.lang.Long",
"java.lang.String",
"java.lang.String",
"java.lang.String"
],
"className": "XX.XXXXX.aip.event.bus.dlq.EventBusDeadLetterQueueBean",
"methodName": "saveNewError",
"modifiers": [],
"returnType": "void",
"visibility": "PUBLIC"
}
}
],
"scope": {},
"source": "METHOD_PARAM",
"technology": "JAVA",
"valueProcessing": {
"splitAt": "",
"trim": false
}
}
],
"dataType": "STRING",
"enabled": true,
"name": "{{.name}}",
"normalization": "ORIGINAL",
"skipPersonalDataMasking": false
}

Environment (please complete the following information):
Docker dynatrace/monaco-runner:2.11.0

@BruceSpruce BruceSpruce added the bug Something isn't working label Feb 27, 2024
@warber
Copy link
Contributor

warber commented Feb 28, 2024

Thanks @BruceSpruce,
I think you are right, ProcessGroups get lost during download of request attributes.
It seems, that the API requires a special query parameter to be set when fetching request attributes which monaco currently doesn't do. Since you cannot modify the requests monaco executing I think there is no way to workaround that issue. This would need to be fixed in the code. I'll come back to you as soon I have more information.

@warber warber added enhancement New feature or request and removed bug Something isn't working labels Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants