Missing Permission (DBA_TABLESPACE_USAGE_METRICS ) in README.md of oracledbreceiver #32373
Labels
bug
Something isn't working
documentation
Improvements or additions to documentation
receiver/oracledb
Component(s)
oracledbreceiver
What happened?
Description
In the Documentation (receiver/oracledbreceiver/README.md), the grant for DBA_TABLESPACE_USAGE_METRICS is missing, but required (see receiver/oracledbreceiver/scraper.go, line 42)
Steps to Reproduce
Start Scraping oracle metrics
Expected Result
Tablespace Metrics are scraped.
Actual Result
collector logs:
error executing select um.TABLESPACE_NAME, um.USED_SPACE, um.TABLESPACE_SIZE, ts.BLOCK_SIZE FROM DBA_TABLESPACE_USAGE_METRICS um INNER JOIN DBA_TABLESPACES ts ON um.TABLESPACE_NAME = ts.TABLESPACE_NAME: ORA-00942: table or view does not exist
Collector version
0.98.0
Environment information
Environment
OS: Docker Image (otel/opentelemetry-collector-contrib:0.98.0)
DBMS: Oracle (ver. Oracle Database 19c Standard Edition 2 Release 19.0.0.0.0 - Production Version 19.3.0.0.0)
OpenTelemetry Collector configuration
Log output
Additional context
No response
The text was updated successfully, but these errors were encountered: