All in Joy in Prayer

Do we only pray, I mean really pray, in times of trouble? In the other times of life, when things are good, and we are happy, or complacent in our lives, what is the nature of our prayers? We pray fervently, and without ceasing when confronted by danger, and reach out to the Lord with all our might in our troubles, but when all is well, or our circumstances are filled with happiness, we find that our prayers become light and airy, and we only pray them as we find a spare moment, or during our appointed times of prayer. Our prayers of thanksgiving seem to be eclipsed by those we pray in the midst of suffering, and anxiousness. Is this how we should pray? Should we only thank him once we get what we want? No, God should be lifted up and glorified in all things, and His joy is meant to be be found in us because of His presence there.