add config for loki compactor

What does this MR do and why?

add related config for Loki, to define a retention duration so that the log will not live forever

Related reference(s)

close #1549 (closed)

Test coverage

Merge request reports

Loading