There is good advice given by others. At the risk of repeating some of that:
1) Making the Decision you must make. Only you can weigh all the factors relevant to your life, including your age, what you think your competencies and worth are, the state of your current employer, etc.
2) Take your time and start surfing for a better opportunity. Keep your cards to your chest, don't broadcast your intent. You need the safe-time to scout.
3) Be confident and recognize you aren't being underhanded. In the end, this is NOT about you being ungrateful. It's about fit and finish after 10 years. It's fair for employers to expect loyalty from employes, and in like fashion Employers are obligated to understand they are on the hook to run their operations in a manner that, in natural fashion, retains employees of their own free will. We all know if there's a better opportunity out there (global statement, not just $), common sense indicates that will be considered.
I don't want to push you in a direction, so please bear with me: One of the biggest mistakes throughout my lifetime was NOT leaving a place when I should have. I stuck around because of how much I had invested into managing those projects and felt "my name" was on them.
What I didn't see at the time was that to too high a degree what was going on was: Use the "agreeable fellow" as the target dummy and convenient gopher. I've generalized here, but I hope you get the drift. Companies (that have management / leadership challenges) absolutely LOVE to have hard working agreeable-people sweeping up or shouldering tasks that otherwise would/should/could be handled by other or more people.
So relax, take your time, keep quiet about it, and do some scouting in a relaxed and thought out manner. That's key.
If you are older, you have a different factor to consider: Do you stay because, in the end, that's smarter because you don't have that many years left to work? If you are younger, my personal feeling is now is the time to learn how to "dance" in job seeking. That, in itself, is good life experience.
Lastly: Be stoic, and practical. No place is Utopia. When sticking your neck out for a change it's entirely possible you end up someplace you want to leave in a year. That could happen. Consider that risk, own it, and if it should happen rinse and repeat the process.
It's like fishing. You keep casting.
Anyway, good luck to you. Be confident in your abilities. By your description and knowing nothing else you are a self-initiator with enough skills to have taken on some important duties.
There are a lot of places that want that kind of person in their shop.