DataONEorg / metrics-service

An efficient database and REST API for delivering aggregated data set metrics to clients.
Apache License 2.0
2 stars 1 forks source link

Ability to filter by subject (group or individuals) #53

Open vchendrix opened 5 years ago

vchendrix commented 5 years ago

There are use cases where we would like to be able to filter out team members from the download counts. Especially in cases where we have automated processes inplace that are pulling data.

Additionally, it would be useful to see who in an organization is downloading data. However, the first use case is most important

rushirajnenuji commented 5 years ago

Hey @vchendrix -

@csjx and @taojing2002 worked on adding the ability to exclude accesses by team-members/internal-services from metrics calculation was added to Metacat v2.10.0 - Enable a blacklist configuration for IP addresses and subjects

All the subjects / IP addresses that belong to this blacklist would be automatically excluded from metrics calculation. This blacklist (which should have per-user DNs and not group DNs) is a MN level (not CN level) blacklist and MN admin will have to maintain it.

vchendrix commented 5 years ago

It is unfortunate that the DNs cannot be groups. It makes it really difficult to maintain as the team make up changes.