Skip to content

Commit

Permalink
Enable kong consumer level metrics (#3467)
Browse files Browse the repository at this point in the history
* kong consumer level metrics changes
* updated consumer level dashboard
  • Loading branch information
saiakhil46 authored Aug 29, 2022
1 parent 35c6805 commit 7bf7b8a
Show file tree
Hide file tree
Showing 4 changed files with 1,116 additions and 0 deletions.
28 changes: 28 additions & 0 deletions ansible/roles/kong-api/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,34 @@ statsd_pulgin:
name: statsd
config.host: "{{ statsd_host }}"
config.port: "{{ statsd_port }}"
config.metrics:
- name: request_count
sample_rate: 1
stat_type: counter
- name: latency
stat_type: timer
- name: request_size
stat_type: timer
- name: status_count
sample_rate: 1
stat_type: counter
- name: response_size
stat_type: timer
- consumer_identifier: username
name: unique_users
stat_type: set
- consumer_identifier: username
name: request_per_user
sample_rate: 1
stat_type: counter
- name: upstream_latency
stat_type: timer
- name: kong_latency
stat_type: timer
- consumer_identifier: username
name: status_count_per_user
sample_rate: 1
stat_type: counter

# Default Rate limits
small_rate_limit_per_hour: 100
Expand Down
Loading

0 comments on commit 7bf7b8a

Please sign in to comment.