Does spying have to be “against” the target? Perhaps allies spy on each other to make sure they are still allies.
It seems like a self-defeating exercise.
If the 'allies' are only faithful and only believe each other until the moment that threshold is crossed then it's just regular diplomatic relations.
e.g. Nearly every country cooperates with nearly every other country on such terms in the areas where they share bonafide mutual interests.