opencensus-python
opencensus-python copied to clipboard
Avoid resolving monitored resource every exported timeseries.
Few more fixes:
- Use gke_container as resource type instead of k8s_container when provided as gke_container.
- Add support for k8s_container when provided in the options
- Use provided default_monitored_labels if type is one of gce_instance, gke_container, aws_ec2_instance.
_default_labels is for metric labels not for resource labels.
After talking to @bogdandrutu we'll wait on this and #426 until adding support for resources.