Skip to content

Commit

Permalink
Merge pull request #121 from frouioui/waitsig-profile
Browse files Browse the repository at this point in the history
Addition of waitSig for vtgate/vttablet profiling
  • Loading branch information
frouioui authored Apr 12, 2021
2 parents c8804d0 + 15b6f37 commit f961522
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ansible/roles/vtgate/templates/vtgate.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ EXTRA_VTGATE_FLAGS="-vschema_ddl_authorized_users \"%\" \
-gate_query_cache_size {{ vtgate_query_cache_size }} \
{% if pprof_targets is defined %}
{% for target in pprof_targets if target == "vtgate" %}
-pprof {{ pprof_args }},path=/tmp/pprof/vtgate-{{ gateway.id }}
-pprof {{ pprof_args }},path=/tmp/pprof/vtgate-{{ gateway.id }},waitSig
{%- endfor %}
{% endif %}
{{gateway.extra_flags|default("")}} \
Expand Down
2 changes: 1 addition & 1 deletion ansible/roles/vttablet/templates/vttablet.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ EXTRA_VTTABLET_FLAGS="-alsologtostderr \
--binlog_use_v3_resharding_mode=true \
{% if pprof_targets is defined %}
{% for target in pprof_targets if target == "vttablet" %}
-pprof {{ pprof_args }},path=/tmp/pprof/vttablet-{{ tablet.id }}
-pprof {{ pprof_args }},path=/tmp/pprof/vttablet-{{ tablet.id }},waitSig
{%- endfor %}
{% endif %}
{{ tablet.extra_flags | default("") }} \
Expand Down

0 comments on commit f961522

Please sign in to comment.