Comments (3)
Is it not possible to use a tag that I've retrieved in a previous query?
Unfortunately, not. Inputs all run at the same time and are not able to pass information between each other, including metrics.
from telegraf.
Hi,
use a variable to query "api/v1/CinemaRoom/$ID"
You can use an environment variable, but not any other type of variable.
The issue is that userID is a random ID that I don't know in advance.
Based on your description it makes much more sense for you to use your own code to query and determine the URLs collect the data and then you could return that data to Telegraf to parse via the exec
plugin. That plugin could call your code and parse the output. meaning you can still leverage Telegraf to collect at intervals, parse, and send metrics.
from telegraf.
Thank you for your response.
You can use an environment variable, but not any other type of variable.
Is it not possible to use a tag that I've retrieved in a previous query? Or perhaps to use "processors.template" to create each URL with the added tag?
Based on your description it makes much more sense for you to use your own code...
I actually wanted to avoid writing my own code... I'm not very skilled at that ^^
from telegraf.
Related Issues (20)
- port_name plugin errors for unknown protocols cannot be silenced HOT 2
- Go Mod Toolkit more specific version HOT 2
- SQL Server AAD Azure Auth method doesn't work if multiple User assigned identies are existing. HOT 3
- Support for space in gnmi path HOT 3
- feat(inputs.influxdb_v2_listener): Support secret for token HOT 1
- Gather metrics immediately upon startup HOT 5
- inputs.cloudwatch: query metrics from [$delay:$now] interval HOT 4
- Allow ability to assign offset from an input register address HOT 1
- Detect new files in config directory HOT 1
- [outputs.mqtt] (Windows Service) Fails to reconnect after network disconnect HOT 14
- [[outputs.datadog]] - HTTP 403 HOT 5
- Compatibility issue for Telegraf with Istio 1.21+ HOT 3
- Use of include_linked_accounts causes an IndexOutOfRange error when requesting SES metrics HOT 19
- telegraf plugins parsers does not list available parsers HOT 4
- Enhance sFlow coverage in netflow module HOT 8
- GNMI plugin crashes in telegraf 1.30.2 HOT 3
- Add a plugin to retrieve metrics from IIS app pools HOT 1
- plugin telegraf_inputs-openldap.conf broken after update to telegraf-1.29.5 from telegraf-1.29.2 HOT 4
- Telegraf Influxdb input: Add missing data from debug vars HOT 2
- SNMP Plugin: input.snmp.table (input.snmp.table.field) is not processed correctly HOT 3
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 telegraf.