Tracking metrics.json

Should metrics.json be in git?

I’ve noticed that if I switch to a branch, run dvc repro then switch back to main, my metrics.json doesn’t change - it doesn’t appear to be tracked by either git or dvc so it’s out of sync with the experiment.

All the model artifacts are tracked by dvc, and params.yaml is tracked by git but metrics.yaml isn’t tracked by either - should I add it to git, or is my stage config wrong

model:
cmd: python src/scripts/train.py
deps:
- data/datasets/data.csv
- model/tokenizer.json
outs:
- model/model.pt
- model/text_transform.pt
- model/index_to_name.json
params:
- params.yaml:
metrics:
- metrics.json

It’s not in .gitignore or .dvcignore either so I’m assuming I’ve messed up my config but not sure how to rectify