Comments (3)
There is no limitation of instances, but prometheus has a scrape timeout.
Did you manual do a "curl" on the exporter endpoint and looked at the output?
Can you please provide your configuration.
from prometheus_oracle_exporter.
Hi,
The config has this layout (redacted because its a productive system):
connections:
- connection: user/pwd@instance/SERVICE
database: xxx
instance: xxx
alertlog:
- file: oracle.conf
# queries:
# - sql: "select 1 from dual"
# name: sample1
# - sql: "select 2 from dual"
# name: sample2
- connection: user/pwd@instance/SERVICE
database: xzx
instance: xzx
alertlog:
- file: oracle.conf
# queries:
# - sql: "select 1 from dual"
# name: sample1
# - sql: "select 2 from dual"
# name: sample2
- connection: user/pwd@instance/SERVICE
database: xzy
instance: xzy
alertlog:
- file: oracle.conf
# queries:
# - sql: "select 1 from dual"
# name: sample1
# - sql: "select 2 from dual"
# name: sample2
...
I include oracle conf as alert log because I dont have the alertlogs on this host (for how) and the exporter fails if this is missing in the YAML.
Even though there are 8 different host/service entries in my config file only the first two are used for scraping. I added some debug lines during SQL connection establishment and I can see that the exporter connects to all 8 (one of which is down so successfully connects to 7). But only "xxx" and "xyx" in this example are exported.
I did a curl above in the original report.
from prometheus_oracle_exporter.
I've found the solution for this problem. The database and instance names in the config gets overwritten from the instance during scrape. So when they are the same the metrics are overwritten.
From now database and instance gets overwritten when they are empty.
Test 1.1.3
from prometheus_oracle_exporter.
Related Issues (20)
- Custom query doesn't work how described in doc HOT 1
- document missing the below details HOT 3
- tried running the exporter on oracle vm but getting the attached error message HOT 1
- alertlog usage HOT 2
- Oracle exporter installation issues HOT 1
- oracledb_alert metric are not working HOT 8
- Missing columns in output HOT 3
- Labels are missing in metrics HOT 3
- Timeout needed on connection level
- Limiting the scrape scope per database or instance
- custom scrape interval HOT 1
- grafana dashboard HOT 1
- Compile error in alertlog.go HOT 3
- In Custom metrics include the value in the result
- go get is failing because of change in the folder format in prometheus/common HOT 2
- Database name in configuration has no effect other than labeling the scrape output HOT 1
- Auditing events from Prometheus monitoring
- static listener and dynamic listener HOT 1
- possible to create a docker container
- Unsupported type value error occurs for a custom metric query which checks alertlog of pdb database
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from prometheus_oracle_exporter.