Skip to content

Commit

Permalink
Merge pull request #17 from jmfiola/main
Browse files Browse the repository at this point in the history
Add support for user count over time
  • Loading branch information
pjcalvo authored Mar 8, 2023
2 parents 9d3ff7a + 0f9ddce commit 23d3bce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions locust_influxdb_listener/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ def __listen_for_requests_events(self, node_id, measurement, request_type, name,
'response_time': response_time,
'response_length': response_length,
'counter': self.env.stats.num_requests, # TODO: Review the need of this field
'user_count': self.env.runner.user_count
}
point = self.__make_data_point(measurement, tags, fields, time)
self.cache.append(point)
Expand Down

0 comments on commit 23d3bce

Please sign in to comment.