with Milvus and InfluxDB Cloud?
Emit new event when a new bucket is created. See the documentation
Emit new event when a new script is created. See the documentation
Emit new event when a new task is completed. See the documentation
Runs a script and returns the result. See the documentation
Updates an existing bucket in InfluxDB Cloud. See the documentation
Write data to a specific bucket in InfluxDB Cloud. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
milvus: {
type: "app",
app: "milvus",
}
},
async run({steps, $}) {
const data = {}
return await axios($, {
method: "post",
url: `${this.milvus.$auth.endpoint}/v2/vectordb/collections/list`,
headers: {
Authorization: `Bearer ${this.milvus.$auth.api_token}`,
"content-type": `application/json`,
"accept": `application/json`,
},
data,
})
},
})
Harness the power of InfluxDB Cloud API on Pipedream to build robust data workflows. InfluxDB Cloud, a time-series database, is ideal for managing high-velocity data and extracting insights in real-time. On Pipedream, you can easily trigger workflows based on InfluxDB data, automate data ingestion, and connect with countless other services to analyze, visualize, and act upon your data.
import { InfluxDB } from '@influxdata/influxdb-client';
import { HealthAPI } from '@influxdata/influxdb-client-apis';
export default defineComponent({
props: {
influxdb_cloud: {
type: "app",
app: "influxdb_cloud",
}
},
async run({steps, $}) {
// See the Node.js client docs at
// https://github.com/influxdata/influxdb-client-js
const influxDB = new InfluxDB(this.influxdb_cloud.$auth.url);
const healthAPI = new HealthAPI(influxDB)
// Execute a health check to test our credentials
return await healthAPI.getHealth()
},
})