add license for metrics-core