It tells you it’s recording usage data, and links you to the docs that show where it goes, how to view the data yourself, how to opt out, and why the collect the data:
https://github.com/Homebrew/brew/blob/68e895ad4d374b4a002261...
https://docs.brew.sh/Analytics