Do you have a good relationship with your leader? Take my quick Career Wellness Checkup poll:
Your direct leader is in the best position to tout you or torpedo you. They will generally be perceived as the most credible source when it comes to your performance. If you don’t have a good relationship, how realistic is it to expect that they will advocate for you? For that project you really want to participate in, for that promotion, for that bonus?
You don’t have to be their best friend, but if you are talking smack behind their back, the negativity is coming through somewhere, trust me. Recognize that your leader is an important part of your network. They may become a mentor, a sponsor. Don’t neglect that relationship or but develop it.