diff --git a/apl/introduction.mdx b/apl/introduction.mdx index 98af570a..c305808e 100644 --- a/apl/introduction.mdx +++ b/apl/introduction.mdx @@ -7,6 +7,7 @@ keywords: ['axiom documentation', 'documentation', 'axiom', 'APL', 'axiom proces --- import Prerequisites from "/snippets/minimal-prerequisites.mdx" +import { Survey } from "/snippets/survey.jsx" The Axiom Processing Language (APL) is a query language that’s perfect for getting deeper insights from your data. Whether logs, events, analytics, or similar, APL provides the flexibility to filter, manipulate, and summarize your data exactly the way you need it. @@ -94,4 +95,6 @@ Check out the [list of sample queries](/apl/tutorial) or explore the supported o - [Scalar functions](/apl/scalar-functions/) - [Aggregation functions](/apl/aggregation-function/) - [Tabular operators](/apl/tabular-operators/) -- [Scalar operators](/apl/scalar-operators/) \ No newline at end of file +- [Scalar operators](/apl/scalar-operators/) + + diff --git a/getting-started-guide/getting-started.mdx b/getting-started-guide/getting-started.mdx index aa020876..3fac9074 100644 --- a/getting-started-guide/getting-started.mdx +++ b/getting-started-guide/getting-started.mdx @@ -5,6 +5,8 @@ icon: rocket keywords: ['axiom documentation', 'documentation', 'axiom', 'stream data', 'analyze data', 'explore data'] --- +import { Survey } from "/snippets/survey.jsx" + Axiom user interface @@ -107,3 +109,5 @@ Choose one of the following learning pathways: - [Try out Axiom](/getting-started-guide/try-out-axiom) for a more hands-on experience that allows you to explore Axiom and quickly leverage the power of your event data. - [Learn about Axiom](/getting-started-guide/learn-about-axiom) for a more educational experience that explains the most important concepts and ideas behind Axiom and how your organization can benefit from Axiom’s offering. + + diff --git a/introduction.mdx b/introduction.mdx index 5e649242..53adb3db 100644 --- a/introduction.mdx +++ b/introduction.mdx @@ -5,6 +5,8 @@ icon: hand-wave keywords: ["axiom documentation", "axiom", "monitoring", "observability", "logging", "user guide", "best practices"] --- +import { Survey } from "/snippets/survey.jsx" + Axiom user interface @@ -99,3 +101,5 @@ If you’re new to Axiom, check out the [Get started](/getting-started-guide/get - [Community](https://axiom.co/discord): Visit the Axiom Discord community to learn, ask questions, and discuss ideas. - [Contact Support](https://axiom.co/contact): Get in touch with the support team for questions not covered here. + + diff --git a/restapi/introduction.mdx b/restapi/introduction.mdx index 101166af..81c23674 100644 --- a/restapi/introduction.mdx +++ b/restapi/introduction.mdx @@ -13,6 +13,7 @@ popularityOrder: 1 import Prerequisites from "/snippets/minimal-prerequisites.mdx" import ReplaceDomain from "/snippets/replace-domain.mdx" import ReplaceDatasetToken from "/snippets/replace-dataset-token.mdx" +import { Survey } from "/snippets/survey.jsx" You can use the Axiom API (Application Programming Interface) to send data to Axiom, query data, and manage resources programmatically. This page covers the basics for interacting with the Axiom API. @@ -91,4 +92,6 @@ Below is a list of the types of data used within the Axiom API: ## What's next - [Ingest data via API](/restapi/ingest) -- [Query data via API](/restapi/query) \ No newline at end of file +- [Query data via API](/restapi/query) + + diff --git a/send-data/ingest.mdx b/send-data/ingest.mdx index ae73133a..10e8db27 100644 --- a/send-data/ingest.mdx +++ b/send-data/ingest.mdx @@ -10,6 +10,7 @@ logoId: 'http' import ReplaceDatasetToken from "/snippets/replace-dataset-token.mdx" import ReplaceDomain from "/snippets/replace-domain.mdx" +import { Survey } from "/snippets/survey.jsx" Send (ingest), transport, and fetch data from different sources such as Relational database, web logs, batch data, real-time, app logs, streaming data, etc. for later usage with the Axiom API. @@ -317,4 +318,6 @@ If you include the `_time` field in the ingested data, ensure the `_time` field When sending data into Axiom, follow these best practices to optimize performance and reliability: - **Batch events:** Use a log forwarder, [collector](#data-shippers), or [Axiom‘s official SDKs](#client-libraries) to group multiple events into a single request before sending them to Axiom. This reduces the number of API calls and improves overall throughput. Avoid implementing batching within your app itself as this introduces additional complexity and requires careful management of buffers and error handling. - **Use compression:** Enable gzip, zstd compression for your requests to reduce bandwidth usage and potentially improve response time. -- **Handle rate limiting and errors:** Use [Axiom‘s official libraries and SDKs](#client-libraries) which automatically implement best practices for handling rate limiting and errors. For advanced use cases or custom implementations, consider adding a fallback mechanism to store events locally or in cold storage if ingestion consistently fails after retries. \ No newline at end of file +- **Handle rate limiting and errors:** Use [Axiom‘s official libraries and SDKs](#client-libraries) which automatically implement best practices for handling rate limiting and errors. For advanced use cases or custom implementations, consider adding a fallback mechanism to store events locally or in cold storage if ingestion consistently fails after retries. + + diff --git a/snippets/survey.jsx b/snippets/survey.jsx new file mode 100644 index 00000000..b55ad6ab --- /dev/null +++ b/snippets/survey.jsx @@ -0,0 +1,29 @@ +export const Survey = () => { + const ref = window.location.href; + useEffect(() => { + const scriptId = 'tally-embed'; + if (!document.getElementById(scriptId)) { + const script = document.createElement('script'); + script.id = scriptId; + script.src = 'https://tally.so/widgets/embed.js'; + script.async = true; + document.body.appendChild(script); + } + + window.TallyConfig = { + formId: 'wQqlyl', + popup: { + open: { + trigger: 'time', + ms: 10000, // 10 seconds + }, + "hideTitle": true, + "autoClose": 3000, + "showOnce": true, + "doNotShowAfterSubmit": true, + }, + }; + }, []); + + return null; +};