elastic / integrations

Elastic Integrations
https://www.elastic.co/integrations
Other
187 stars 397 forks source link

Azure OpenAI Integration #8924

Open SubhrataK opened 6 months ago

SubhrataK commented 6 months ago

The Azure OpenAI Service grants users REST API access to OpenAI's robust language models, encompassing the GPT-4, GPT-4 Turbo with Vision, GPT-3.5-Turbo, and Embeddings model series. This service equips customers with cutting-edge language AI, featuring OpenAI models such as GPT-4, GPT-3, Codex, DALL-E, Whisper, and text-to-speech models, all within the secure and enterprise-centric environment of Azure. Collaboratively developed with OpenAI, Azure OpenAI ensures seamless compatibility and a smooth transition between APIs.

By leveraging Azure OpenAI, customers benefit from the security features inherent in Microsoft Azure while utilizing the same powerful models as those offered by OpenAI. The service provides additional advantages, including private networking, regional availability, and responsible AI content filtering. Azure OpenAI is part of Azure AI services, which uses Azure Monitor.

This integration shall capture the logs and metrics for Azure OpenAI.

Metrics:

More metrics to be added. Reference: https://learn.microsoft.com/en-us/azure/ai-services/openai/overview

### Tasks
- [ ] https://github.com/elastic/integrations/issues/9376
- [ ] https://github.com/elastic/integrations/issues/9378
- [ ] https://github.com/elastic/integrations/issues/9547
- [ ] https://github.com/elastic/integrations/pull/9706
muthu-mps commented 3 months ago

The Azure OpenAI integration captures the metrics and logs from the Azure OpenAI service.

Metrics

Logs

Azure openAI Monitoring

Screenshot 2024-04-09 at 12 49 23 PM
muthu-mps commented 3 months ago

@zmoog - I have done the analysis and currently started working on the implementation. Captured the metrics and log collection methods. Created different issues one for logs and other for metrics which has more specific details about the data processing.

After discussing with you on the dimensions, I have updated the issue on how the document would look like once we have the dimensions for the metrics. Please feel free to add your suggestions if any.

muthu-mps commented 2 months ago