The stunning eight-year contract Edmonton Oilers general manager Peter Chiarelli lavished yesterday on 21-year-old center Leon Draisaitl — paying $8.5 million dollars per season — hardly was overlooked by Bruins restricted free agent winger David Pastrnak.

Indeed, Pastrnak has been waiting to see how sweet a deal Draisaitl would get — and no doubt it sounded mighty nice to Pastrnak. He’s hoping to land a comparable deal.

Which explains why the B’s have hit a snag in re-signing their young star.

The team hoped to have a new contract for the supremely talented 21-year-old by now, and thought it had made an offer that would get the job done: Six years at $6  million per season.

In the NHL, it’s all about “comparables” in the restricted free agent market. The comparable NHL pact on which the B’s based their offer is that of Nashville Predators star Filip Forsberg, who is entering the second season of a five-year deal paying $6 million per season.

It’s important to note Forsberg’s signing last summer was in the wake of two strong seasons: 26 goals, 37 assists in 2014-15 and 33 goals and 31 assists in ’15-16.

Pastrnak had a breakout campaign last season, when he was second on the B’s with 34 goals and 36 assists.

He has shown glimpses of excellence in his first three NHL seasons but is arguing his salary case based on one.

Forsberg seems like a more deserving player for that contract than Pastrnak, though the B’s apparently are willing to match it.