Copyright 2020, OpenCensus Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

package monitoredresource

import (
	
	
)
GKEContainer represents gke_container type monitored resource. For definition refer to https://cloud.google.com/monitoring/api/resources#tag_gke_container Deprecated: please use gcp.GKEContainer from "contrib.go.opencensus.io/exporter/stackdriver/monitoredresource/gcp".
ProjectID is the identifier of the GCP project associated with this resource, such as "my-project".
InstanceID is the numeric VM instance identifier assigned by Compute Engine.
ClusterName is the name for the cluster the container is running in.
ContainerName is the name of the container.
NamespaceID is the identifier for the cluster namespace the container is running in
PodID is the identifier for the pod the container is running in.
Zone is the Compute Engine zone in which the VM is running.
LoggingMonitoringV2Enabled is the identifier if user enabled V2 logging and monitoring for GKE
MonitoredResource returns resource type and resource labels for GKEContainer
func ( *GKEContainer) () ( string,  map[string]string) {
	 := gcp.GKEContainer(*)
	return .MonitoredResource()
}
GCEInstance represents gce_instance type monitored resource. For definition refer to https://cloud.google.com/monitoring/api/resources#tag_gce_instance Deprecated: please use gcp.GCEInstance from "contrib.go.opencensus.io/exporter/stackdriver/monitoredresource/gcp".
type GCEInstance struct {
ProjectID is the identifier of the GCP project associated with this resource, such as "my-project".
InstanceID is the numeric VM instance identifier assigned by Compute Engine.
Zone is the Compute Engine zone in which the VM is running.
MonitoredResource returns resource type and resource labels for GCEInstance
func ( *GCEInstance) () ( string,  map[string]string) {
	 := gcp.GCEInstance(*)
	return .MonitoredResource()
}
AWSEC2Instance represents aws_ec2_instance type monitored resource. For definition refer to https://cloud.google.com/monitoring/api/resources#tag_aws_ec2_instance Deprecated: please use aws.EC2Container from "contrib.go.opencensus.io/exporter/stackdriver/monitoredresource/aws".
AWSAccount is the AWS account number for the VM.
InstanceID is the instance id of the instance.
Region is the AWS region for the VM. The format of this field is "aws:{region}", where supported values for {region} are listed at http://docs.aws.amazon.com/general/latest/gr/rande.html.
MonitoredResource returns resource type and resource labels for AWSEC2Instance
func ( *AWSEC2Instance) () ( string,  map[string]string) {
	 := aws.EC2Instance(*)
	return .MonitoredResource()