I know rock sockets from drilled pier construction. Usually, you get the depth to competent rock and the structural engineer tells you the load to counter with.
Knowing the compressive strength of the rock and concrete-bedrock bond stress, a socket depth is dictated for skin friction and end bearing.
I was involved in the field inspection for rock sockets. The socket inspection was done via camera. Pretty cool stuff!