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

Template Functions are not showing actual values in influx-details output. #418

Open
bmangust opened this issue Jun 1, 2023 · 0 comments

Comments

@bmangust
Copy link

bmangust commented Jun 1, 2023

Command line arguments / config

{
    "proto": "/path_to_proto/cacheapi.proto",
    "call": "dcs.DistributedCacheService/ShardsService",
    "total": 2,
    "concurrency": 1,
    "connections": 1,
    "data": {
      "rqUid": "{{newUUID}}",
      "uuid": "{{randomString 32}}"
    },
    "skipTLS": true,
    "host": "<hostname:port>"
}

command:
ghz --config ./ShardService.json -O influx-details

output:

ghz_detail,proto="/path_to_proto/cacheapi.proto",call="dcs.DistributedCacheService/ShardsService",host="<hostname:port>",n=2,c=1,rps=0,z=0,timeout=20,dial_timeout=10,keepalive=0,data="{\"rqUid\":\"{{newUUID}}\"\,\"uuid\":\"{{randomString\ 32}}\"}",metadata="",tags="",hasError=false latency=52235128,error="",status="OK" 1685616271551022000

ghz_detail,proto="/path_to_proto/cacheapi.proto",call="dcs.DistributedCacheService/ShardsService",host="<hostname:port>",n=2,c=1,rps=0,z=0,timeout=20,dial_timeout=10,keepalive=0,data="{\"rqUid\":\"{{newUUID}}\"\,\"uuid\":\"{{randomString\ 32}}\"}",metadata="",tags="",hasError=false latency=7318493,error="",status="OK" 1685616271558543000

Describe the bug
Template Functions are not showing actual values in influx-details output. Now data field looks like this:
data="{"rqUid":"{{newUUID}}","uuid":"{{randomString\ 32}}"}"
Server actually recieves valid values, functions themselves are woriking

To Reproduce
Use template functions in data, output to influx-details

Expected behavior
Actual values returned from functons would be great to see in events log.

Environment

  • OS: macOS 13.3.1 (22E261)
  • ghz: 0.115.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant