Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenCensue: GAUGE_DISTRIBUTION metric not exported #10584

Closed
imccarten1 opened this issue Nov 9, 2020 · 2 comments
Closed

OpenCensue: GAUGE_DISTRIBUTION metric not exported #10584

imccarten1 opened this issue Nov 9, 2020 · 2 comments

Comments

@imccarten1
Copy link

Describe the bug
I was trying to use a custom receiver module to export some metrics converted from the opencensus-proto format with internaldata.OCSliceToMetrics. I discovered that it does not export metrics of type MetricDescriptor_GAUGE_DISTRIBUTION.

Steps to reproduce
Create a metric in opencensus-proto format of type MetricDescriptor_GAUGE_DISTRIBUTION and try to convert it using internaldata.OCSliceToMetrics.
Once the pull request to update https:/GoogleCloudPlatform/appengine-sidecars-docker/tree/master/opentelemetry_collector to use opentelemetry-collector v 0.14.0 has been approved it should be possible to reproduce this issue with the vm image age receiver in that repository.

What did you expect to see?
A clear and concise description of what you expected to see.
I expected the GAUGE_DISTRIBUTION metric to exported.

What did you see instead?
A clear and concise description of what you saw instead.
The metric was silently dropped. It wasn't exported without anything in the logs indicating an error.

What version did you use?
Version: (e.g., v0.4.0, 1eb551b, etc)
0.14.0

What config did you use?
Config: (e.g. the yaml config file)
Note that this includes reference to a custom receiver defined at https:/GoogleCloudPlatform/appengine-sidecars-docker/tree/master/opentelemetry_collector

receivers:
vmimageage:
build_date: 2020-11-04T01:01:28+00:00
vm_image_name: example_image
export_interval: 10s

processors:
resource:
type: gae_instance
labels: {
"cloud.region": "australia-southeast1",
"appengine.service.id": "default",
"appengine.version.id": "test-version",
"appengine.instance.id": "test-instance",
}

exporters:
stackdriver:
project: test-project
metric:
prefix: appengine.googleapis.com/flex/internal
skip_create_descriptor: true

service:
pipelines:
metrics:
receivers: [vmimageage]
processors: [resource]
exporters: [stackdriver]

Environment
OS: (e.g., "Ubuntu 20.04") Debian GNU/Linux rodete
Compiler(if manually compiled): (e.g., "go 14.2") go1.15 linux/amd64

Additional context
Add any other context about the problem here.

@imccarten1 imccarten1 added the bug Something isn't working label Nov 9, 2020
MovieStoreGuy referenced this issue in atlassian-forks/opentelemetry-collector Nov 11, 2021
* Bump golang.org/x/tools from 0.1.4 to 0.1.5 in /internal/tools

Bumps [golang.org/x/tools](https:/golang/tools) from 0.1.4 to 0.1.5.
- [Release notes](https:/golang/tools/releases)
- [Commits](golang/tools@v0.1.4...v0.1.5)

---
updated-dependencies:
- dependency-name: golang.org/x/tools
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Auto-fix go.sum changes in dependent modules

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: MrAlias <[email protected]>
@bogdandrutu bogdandrutu changed the title GAUGE_DISTRIBUTION metric not exported OpenCensue: GAUGE_DISTRIBUTION metric not exported Jun 3, 2022
@bogdandrutu bogdandrutu transferred this issue from open-telemetry/opentelemetry-collector Jun 3, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Nov 9, 2022

This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping @open-telemetry/collector-contrib-triagers. If this issue is still relevant, please ping the code owners or leave a comment explaining why it is still relevant. Otherwise, please close it.

@github-actions github-actions bot added the Stale label Nov 9, 2022
@github-actions
Copy link
Contributor

This issue has been closed as inactive because it has been stale for 120 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Mar 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants