Skip to content

Associate logs with AppHub application using googlecloudexporter #482

@MitchDart

Description

@MitchDart

Hi,

I have tried every way I know how to associate my Otel logs with my AppHub application.

For example have tried:

     - set(resource.attributes["apphub.application.id"], "xxx")
     - set(resource.attributes["apphub.application.location"], "xxx")

Also tried making sure the filter picks up these resource attributes

    googlecloud:
        log:
          default_log_name: opentelemetry-collector
          resource_filters:
            - prefix: apphub.

According to Opentelemetry: AppHub Opentelemetry
these are the attributes that should be set.

Which are the same as above except with a gcp. prefix. I have tried these as well and nothing links it to the AppHub application.

I was wondering if anyone encountered this issue or if anyone might have an idea how I can link it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions